Skip to content

Commit

Permalink
fix: use apt proxy for https (#91)
Browse files Browse the repository at this point in the history
  • Loading branch information
viceice authored Jul 5, 2021
1 parent 2ffa05d commit 364cf2c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion src/usr/local/buildpack/util.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,6 @@ function apt_install () {
echo "Installing apt packages: ${@}"
if [[ "${APT_HTTP_PROXY}" ]]; then
echo "Acquire::HTTP::Proxy \"${APT_HTTP_PROXY}\";" | tee -a /etc/apt/apt.conf.d/buildpack-proxy
echo "Acquire::HTTPS::Proxy \"DIRECT\";" | tee -a /etc/apt/apt.conf.d/buildpack-proxy
fi
apt-get -qq update
apt-get -qq install -y "$@"
Expand Down

0 comments on commit 364cf2c

Please sign in to comment.