Skip to content
Permalink
master
Go to file
 
 
Cannot retrieve contributors at this time
36 lines (28 sloc) 828 Bytes
FROM bigfleet/centos7base
# Define args and set a default value
ARG maintainer=tier
ARG imagename=https_proxy
ARG version=1.0
MAINTAINER $maintainer
LABEL Vendor="Internet2"
LABEL ImageType="https_proxy"
LABEL ImageName=$imagename
LABEL ImageOS=centos7
LABEL Version=$version
LABEL Build docker build --rm --tag $registry/$maintainer/$imagename .
# Install deps.
RUN yum -y install \
httpd \
mod_ssl \
&& yum clean all \
&& mkdir /etc/httpd/certs \
&& mkdir /etc/httpd/site \
&& rm /etc/httpd/conf.d/autoindex.conf \
&& rm /etc/httpd/conf.d/ssl.conf \
&& rm /etc/httpd/conf.d/userdir.conf \
&& rm /etc/httpd/conf.d/welcome.conf
ONBUILD COPY ./certs/ /etc/httpd/certs/
ONBUILD COPY ./conf/ /etc/httpd/conf.d/
COPY httpd-foreground /usr/local/bin/
EXPOSE 80 443
CMD ["httpd-foreground"]
You can’t perform that action at this time.