bunkerweb/tests/linux/Dockerfile-rhel9
dependabot[bot] 7f8a7fe213
deps/tests/linux: bump redhat/ubi9-init in /tests/linux
Bumps redhat/ubi9-init from `71551c0` to `5e1b956`.

---
updated-dependencies:
- dependency-name: redhat/ubi9-init
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-12-23 08:48:57 +00:00

21 lines
715 B
Text

FROM redhat/ubi9-init:9.5@sha256:5e1b9563b1fd57429828eb4b0d3624c9c753ec63fc2b85972294be9233e39bae
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 dnf install https://dl.fedoraproject.org/pub/epel/epel-release-latest-9.noarch.rpm -y && \
dnf install php-fpm yum-utils -y && \
dnf install nginx-${NGINX_VERSION} -y
COPY ./package-rhel9/*.rpm /opt