diff --git a/image/Dockerfile b/image/Dockerfile index 1d21373..d6c0406 100644 --- a/image/Dockerfile +++ b/image/Dockerfile @@ -7,6 +7,7 @@ MAINTAINER Phusion ADD . /pd_build ARG ARCH +ARG http_proxy RUN --mount=type=cache,target=/build_cache \ /usr/bin/nice /pd_build/install_image.sh diff --git a/image/Dockerfile.base b/image/Dockerfile.base index 298ba50..e9dff1d 100644 --- a/image/Dockerfile.base +++ b/image/Dockerfile.base @@ -5,6 +5,7 @@ MAINTAINER Phusion ADD . /pd_build ARG ARCH +ARG http_proxy RUN --mount=type=cache,target=/build_cache \ rm -rf "/build_cache/${ARCH}" && \ /usr/bin/nice /pd_build/install_base.sh && \