diff options
Diffstat (limited to 'Dockerfile')
-rw-r--r-- | Dockerfile | 10 |
1 files changed, 6 insertions, 4 deletions
@@ -14,14 +14,16 @@ LABEL maintainer="Gerd Hoffmann <kraxel@redhat.com>" \ USER root +COPY ./etc/centos-mirror.sh /root COPY ./etc/proxy.sh /etc/profile.d -RUN source /etc/profile.d/proxy.sh; \ +COPY ./etc/*.conf /etc/httpd/conf.d/ +COPY ./s2i/bin/ /usr/libexec/s2i + +RUN /root/centos-mirror.sh; \ + source /etc/profile.d/proxy.sh; \ dnf update -y && \ dnf install -y httpd && \ dnf clean all -y - -COPY ./s2i/bin/ /usr/libexec/s2i -COPY ./etc/*.conf /etc/httpd/conf.d/ RUN mkdir -p /run/httpd;\ chmod 777 /run/httpd /etc/httpd/logs;\ sed -i -e '/Listen/s/^/#/' /etc/httpd/conf/httpd.conf;\ |