File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 11ARG BASE_IMAGE
22FROM ${BASE_IMAGE}
33USER 0
4+ RUN if [ -z "${http_proxy}" ]; then echo "Acquire::http::proxy \" ${http_proxy}\" ;" >> /etc/apt/apt.conf; fi
5+ RUN if [ -z "${https_proxy}" ]; then echo "Acquire::https::proxy \" ${https_proxy}\" ;" >> /etc/apt/apt.conf; fi
46RUN apt-get update && apt-get install -y --no-install-recommends cron && \
57 rm -r /var/lib/apt/lists/*
68COPY entrypoint.sh /entrypoint.sh
Original file line number Diff line number Diff line change @@ -3,8 +3,8 @@ echo "${_group}Building and tagging Docker images ..."
33echo " "
44# Build any service that provides the image sentry-self-hosted-local first,
55# as it is used as the base image for sentry-cleanup-self-hosted-local.
6- $dc build --force-rm web
7- $dc build --force-rm
6+ $dc build --build-arg http_proxy= $http_proxy --build-arg https_proxy= $https_proxy --build-arg no_proxy= $no_proxy -- force-rm web
7+ $dc build --build-arg http_proxy= $http_proxy --build-arg https_proxy= $https_proxy --build-arg no_proxy= $no_proxy -- force-rm
88echo " "
99echo " Docker images built."
1010
You can’t perform that action at this time.
0 commit comments