Skip to content

Commit 1bb5266

Browse files
committed
Updated dockerBuild.sh
1 parent 3956a57 commit 1bb5266

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

shl/dockerBuild.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ dockerBuild () {
3636
return 1
3737
fi
3838

39-
if [ -n "$apt_proxy" ];then
39+
if env | grep apt_proxy -q ;then
4040
set -x
4141
time $sudo docker build --build-arg apt_proxy=$apt_proxy -t "$imageName" -f "$dockerFileName" "$dir" "$@"
4242
else

0 commit comments

Comments
 (0)