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

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-11 07:40:48 +00:00

21 lines
733 B
Text

FROM redhat/ubi8-init:8.10-2.1717585302@sha256:0a87a84de9b4fe211a0623cf7b1431895c9c6590d345e20bb5483f09629d53d3
ENV NGINX_VERSION 1.26.1
# 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 -y https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
dnf install php-fpm curl yum-utils -y && \
dnf install nginx-${NGINX_VERSION} -y
COPY ./package-rhel/*.rpm /opt