origin-http-proxy/Dockerfile
2019-01-20 20:33:26 +01:00

33 lines
1.1 KiB
Docker

#
# This is the egress router HTTP proxy for OpenShift Origin
#
# The standard name for this image is openshift/origin-egress-http-proxy
#
FROM registry.fedoraproject.org/f29/origin-base:latest
ENV NAME=origin-egress-http-proxy \
VERSION=3.11 \
ARCH=x86_64
RUN INSTALL_PKGS="squid" && \
dnf install -y $INSTALL_PKGS && \
rpm -V $INSTALL_PKGS && \
dnf clean all && \
rmdir /var/log/squid /var/spool/squid && \
rm -f /etc/squid/squid.conf
LABEL io.k8s.display-name="OpenShift Origin HTTP proxy egress router" \
io.k8s.description="This is the egress router HTTP proxy for OpenShift Origin" \
io.openshift.tags="openshift,router,egress,http" \
summary="This is the egress router HTTP proxy for OpenShift Origin" \
maintainer="Jakub Cajka <jcajka@fedoraproject.org>" \
License="GPLv2+" \
name="$FGC/$NAME" \
com.redhat.component="$NAME" \
version="$VERSION" \
architecture="$ARCH" \
usage="This is the egress router HTTP proxy for OpenShift Origin"
ADD egress-http-proxy.sh /bin/egress-http-proxy.sh
ENTRYPOINT /bin/egress-http-proxy.sh