bunkerweb/tests/linux/Dockerfile-rhel9
dependabot[bot] e60c5a8253
deps/tests/linux: Bump redhat/ubi9-init in /tests/linux
Bumps redhat/ubi9-init from 9.4-14.1726695630 to 9.4-14.1729775103.

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 08:34:13 +00:00

21 lines
723 B
Text

FROM redhat/ubi9-init:9.4-14.1729775103@sha256:13616a49d9de2875040ff8926a3dd984c7dd97edad5abb0ceef2bb9b667c0109
ENV NGINX_VERSION 1.26.2
# Copy rocky repo
COPY src/linux/rocky-9.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-9
COPY src/linux/RPM-GPG-KEY-Rocky-9 /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
# Import RPM-GPG-KEY-Rocky-9
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-Rocky-9
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 yum-utils -y && \
dnf install nginx-${NGINX_VERSION} -y
COPY ./package-rhel9/*.rpm /opt