FROM debian:stable-slim MAINTAINER Drone CI/CD ARG HTTP_PROXY RUN echo '\ Acquire::http { Proxy "'${HTTP_PROXY}'"; } \n\ Acquire::https { Proxy "https://"; }; \n\ ' >> /etc/apt/apt.conf.d/01-proxy RUN ls -l /etc/apt/apt.conf.d/01-proxy RUN cat /etc/apt/apt.conf.d/01-proxy ARG BUILDDEPS RUN apt-get update && \ apt-get --yes upgrade && \ apt-get --yes install ${BUILDDEPS} ENTRYPOINT ["/bin/bash", "-c"]