Add test Dockerfile for Rocky Linux with Nginx installation

This commit is contained in:
Théophile Diot 2024-02-05 10:54:52 +01:00
parent 75cf8d7863
commit d479e944cc
No known key found for this signature in database
GPG key ID: 248FEA4BAE400D06

View file

@ -0,0 +1,10 @@
FROM rockylinux:9.3@sha256:c944604c0c759f5d164ffbdf0bbab2fac582b739938937403c067ab634a0518a
ENV NGINX_VERSION 1.24.0
COPY src/linux/nginx.repo /etc/yum.repos.d/nginx.repo
RUN dnf install epel-release php-fpm curl yum-utils -y && \
dnf install nginx-${NGINX_VERSION} -y
COPY ./package-rockylinux/*.rpm /opt