-
Notifications
You must be signed in to change notification settings - Fork 417
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Allow setting http_proxy via EXTRA_BUILD_ARGS to cache apt packages
during image build.
- Loading branch information
Showing
2 changed files
with
2 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,6 +7,7 @@ MAINTAINER Phusion <[email protected]> | |
ADD . /pd_build | ||
|
||
ARG ARCH | ||
ARG http_proxy | ||
RUN --mount=type=cache,target=/build_cache \ | ||
/usr/bin/nice /pd_build/install_image.sh | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -5,6 +5,7 @@ MAINTAINER Phusion <[email protected]> | |
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 && \ | ||
|