Skip to content

Commit 3195158

Browse files
committed
Re-add additional proxy env variables.
1 parent 4b219f9 commit 3195158

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -89,6 +89,8 @@ public void run() {
8989
9090
export http_proxy=http://localhost:8080
9191
export https_proxy=${http_proxy}
92+
export HTTP_PROXY=${http_proxy}
93+
export HTTPS_PROXY=${http_proxy}
9294
#fix this when we no longer need to run as root
9395
export HOME=${HOME:=/root}
9496
# Custom base working directory.
@@ -180,6 +182,8 @@ private String getContainerFile() {
180182
ENV PROXY_URL=$PROXY_URL
181183
ENV http_proxy=http://localhost:8080
182184
ENV https_proxy=${http_proxy}
185+
ENV HTTP_PROXY=${http_proxy}
186+
ENV HTTPS_PROXY=${http_proxy}
183187
COPY .jbs/run-build.sh /var/workdir
184188
COPY . /var/workdir/workspace/source/
185189
RUN /var/workdir/run-build.sh

0 commit comments

Comments
 (0)