diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-04 21:19:52 +0100 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2020-03-04 21:19:52 +0100 |
commit | 2118aef4458104a77787dffced6585e489f4f972 (patch) | |
tree | 206541be5fc3cea2223926ed8a968f2765188368 | |
parent | 8025c3edfe9eb5e0b4bdffb3ebcbac9ef43b62ef (diff) | |
download | s2i-base-httpd-2118aef4458104a77787dffced6585e489f4f972.tar.gz |
mirror tweaks
-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;\ |