We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3956a57 commit 1bb5266Copy full SHA for 1bb5266
shl/dockerBuild.sh
@@ -36,7 +36,7 @@ dockerBuild () {
36
return 1
37
fi
38
39
- if [ -n "$apt_proxy" ];then
+ if env | grep apt_proxy -q ;then
40
set -x
41
time $sudo docker build --build-arg apt_proxy=$apt_proxy -t "$imageName" -f "$dockerFileName" "$dir" "$@"
42
else
0 commit comments