bunkerweb/tests/linux/Dockerfile-rhel
dependabot[bot] 8b77cd39e9
deps/tests/linux: bump redhat/ubi8-init in /tests/linux
Bumps redhat/ubi8-init from 8.10-9 to 8.10-9.1731462872.

---
updated-dependencies:
- dependency-name: redhat/ubi8-init
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-11-19 09:04:04 +00:00

21 lines
728 B
Text

FROM redhat/ubi8-init:8.10-9.1731462872@sha256:f27239c96f6878d49c9ba0cb3ba9376156529bd79c63d2316284a36d6a29dbf3
ENV NGINX_VERSION=1.26.2
# Copy rocky repo
COPY src/linux/rocky-8.repo /etc/yum.repos.d/rocky.repo
RUN sed -i "s/%ARCH%/$(uname -m)/g" /etc/yum.repos.d/rocky.repo
# Copy RPM-GPG-KEY-Rocky-8
COPY src/linux/RPM-GPG-KEY-Rocky-8 /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-8
# Import RPM-GPG-KEY-Rocky-8
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-8
COPY src/linux/nginx.repo /etc/yum.repos.d/nginx.repo
RUN dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm -y && \
dnf install php-fpm yum-utils -y && \
dnf install nginx-${NGINX_VERSION} -y
COPY ./package-rhel/*.rpm /opt