Skip to content

Commit 1517640

Browse files
committed
Try using ANT_OPTS.
1 parent 8ad825b commit 1517640

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

java-components/build-request-processor/src/main/java/com/redhat/hacbs/container/build/preprocessor/AbstractPreprocessor.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,6 +91,7 @@ public void run() {
9191
export https_proxy=${http_proxy}
9292
export HTTP_PROXY=${http_proxy}
9393
export HTTPS_PROXY=${http_proxy}
94+
export ANT_OPTS=-Dhttp.proxyHost=localhost -Dhttp.proxyPort=8080
9495
#fix this when we no longer need to run as root
9596
export HOME=${HOME:=/root}
9697
# Custom base working directory.

0 commit comments

Comments
 (0)