Skip to content
Snippets Groups Projects
Commit 31a42da6 authored by Olaf Meeuwissen's avatar Olaf Meeuwissen
Browse files

Support building behind a proxy

In order to use this functionality, you need to pass `--build-arg`
options for the `http_proxy`, `https_proxy` and `no_proxy` values
that are suitable for *your* build environment.

If not behind a proxy, simply don't pass any `*_proxy` build args.
parent d73dea3d
No related branches found
No related tags found
No related merge requests found
...@@ -4,7 +4,7 @@ COPY pom.xml /app/ ...@@ -4,7 +4,7 @@ COPY pom.xml /app/
COPY src /app/src/ COPY src /app/src/
WORKDIR /app WORKDIR /app
RUN mvn --batch-mode package RUN mvn --batch-mode --define java.net.useSystemProxies=true package
######################################################################################## ########################################################################################
......
...@@ -4,7 +4,7 @@ COPY pom.xml /app/ ...@@ -4,7 +4,7 @@ COPY pom.xml /app/
COPY src /app/src/ COPY src /app/src/
WORKDIR /app WORKDIR /app
RUN mvn --batch-mode package RUN mvn --batch-mode --define java.net.useSystemProxies=true package
######################################################################################## ########################################################################################
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment