diff options
author | Remi Collet <remi@remirepo.net> | 2024-08-08 08:42:15 +0200 |
---|---|---|
committer | Remi Collet <remi@php.net> | 2024-08-08 08:42:15 +0200 |
commit | f7d68ffd0ca0d4cde501736ca81c72c716fec8e3 (patch) | |
tree | 6a420474c5c53eb5c36e67ff535fb5ef9697f96c | |
parent | 23d46df40aa2fd0f20b4a1a9e929141fefbb116e (diff) |
use capstone from remi-safe
-rw-r--r-- | ubi9-remi-php83.dockerfile | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/ubi9-remi-php83.dockerfile b/ubi9-remi-php83.dockerfile index fc4da1a..5562833 100644 --- a/ubi9-remi-php83.dockerfile +++ b/ubi9-remi-php83.dockerfile @@ -3,10 +3,16 @@ FROM registry.access.redhat.com/ubi9:latest # podman build -t ubi9php83 -f ubi9-remi-php83.dockerfile . # podman run --rm -ti ubi9php83 +# Install repo RUN dnf -y install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm \ - https://mirror.stream.centos.org/9-stream/AppStream/x86_64/os/Packages/capstone-4.0.2-10.el9.x86_64.rpm \ - https://rpms.remirepo.net/enterprise/remi-release-9.rpm && \ - dnf -y module enable php:remi-8.3 && \ + https://rpms.remirepo.net/enterprise/remi-release-9.rpm + +# Use primary server +RUN sed -e 's/^mirrorlist/#mirrorlist/;s/#baseurl/baseurl/' \ + -i /etc/yum.repos.d/remi*.repo + +# Install +RUN dnf -y module enable php:remi-8.3 && \ dnf -y install httpd php php-cli php-common \ php-sodium \ php-json \ |