mirror of
https://github.com/octoleo/plantuml-server.git
synced 2025-01-31 09:38:27 +00:00
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.
This commit is contained in:
parent
d73dea3d58
commit
31a42da6bb
@ -4,7 +4,7 @@ COPY pom.xml /app/
|
||||
COPY src /app/src/
|
||||
|
||||
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/
|
||||
COPY src /app/src/
|
||||
|
||||
WORKDIR /app
|
||||
RUN mvn --batch-mode package
|
||||
RUN mvn --batch-mode --define java.net.useSystemProxies=true package
|
||||
|
||||
########################################################################################
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user