Remove unnecessary package installation in Dockerfile-rhel9 (curl)

This commit is contained in:
Théophile Diot 2024-02-06 15:43:25 +01:00
parent a2311914e0
commit 1435c25f3b
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -15,7 +15,7 @@ RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
COPY src/linux/nginx.repo /etc/yum.repos.d/nginx.repo
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm && \
dnf install php-fpm curl yum-utils -y && \
dnf install php-fpm yum-utils -y && \
dnf install nginx-${NGINX_VERSION} -y
COPY ./package-rhel/*.rpm /opt