From 2118aef4458104a77787dffced6585e489f4f972 Mon Sep 17 00:00:00 2001 From: Gerd Hoffmann Date: Wed, 4 Mar 2020 21:19:52 +0100 Subject: mirror tweaks --- Dockerfile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index adcc2c4..1e27ab1 100644 --- a/Dockerfile +++ b/Dockerfile @@ -14,14 +14,16 @@ LABEL maintainer="Gerd Hoffmann " \ 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;\ -- cgit