mirror of
https://github.com/bunkerity/bunkerweb
synced 2026-05-24 09:28:37 +00:00
18 lines
No EOL
575 B
Text
18 lines
No EOL
575 B
Text
FROM redhat/ubi8-init:8.7
|
|
|
|
# Copy centos repo
|
|
COPY src/linux/centos.repo /etc/yum.repos.d/centos.repo
|
|
|
|
# Copy RPM-GPG-KEY-CentOS-Official
|
|
COPY src/linux/RPM-GPG-KEY-centosofficial /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
|
|
# Import RPM-GPG-KEY-CentOS-Official
|
|
RUN rpm --import /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
|
|
|
|
COPY src/linux/nginx.repo /etc/yum.repos.d/nginx.repo
|
|
|
|
RUN rpm -ivh https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm && \
|
|
dnf install php-fpm curl yum-utils -y && \
|
|
dnf install nginx-1.22.1 -y
|
|
|
|
COPY ./package-rhel/*.rpm /opt |