bunkerweb/tests/linux/Dockerfile-rhel
dependabot[bot] 0445bab728
deps/tests/linux: bump redhat/ubi8-init in /tests/linux
Bumps redhat/ubi8-init from `c586b14` to `d3f4492`.

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

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

21 lines
715 B
Text

FROM redhat/ubi8-init:8.10@sha256:d3f44922a9861b8a67ec59f452c3c32c8cfc32ba1d240a5046cd2096fc703679
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