3 # Set up your corporate proxy if there is
9 ENV DEBIAN_FRONTEND=noninteractive
11 RUN if [ ! -z ${HTTP_PROXY} ]; \
12 then echo "Acquire::http::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; \
14 if [ ! -z ${HTTP_PROXY} ]; \
15 then echo "Acquire::https::proxy \"${HTTP_PROXY}\";" >> /etc/apt/apt.conf; \
18 apt-get -y install ca-certificates openssl curl && \
19 rm -rf /var/lib/apt/lists/*
21 RUN mkdir -p /etc/ssl/certs/ && mkdir -p /etc/ssl/private
23 COPY aai.pem /etc/ssl/private/aai.pem
24 COPY docker-entrypoint.sh /docker-entrypoint.sh
25 COPY resolvers.conf /usr/local/etc/haproxy/resolvers.conf
26 COPY haproxy.cfg /usr/local/etc/haproxy/haproxy.cfg
28 RUN chmod +x /docker-entrypoint.sh