Skip to content

Commit fa58a83

Browse files
author
Tim Middleton
authored
Fix #430 (#431)
1 parent eff281a commit fa58a83

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

examples/deployment/README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,16 @@ following command to build the projects and associated Docker images:
9090

9191
```bash
9292
mvn clean install -P docker
93-
```
93+
```
94+
95+
> Note: If you are running behind a corporate proxy and receive the following message building the
96+
> Docker image:
97+
> `Connect to gcr.io:443 [gcr.io/172.217.212.82] failed: connect timed out` you must modify the build command
98+
> to add the proxy hosts and ports to be used by the `jib-maven-plugin` as shown below:
99+
>
100+
> ```bash
101+
> mvn clean install -P docker -Dhttps.proxyHost=host -Dhttps.proxyPort=80 -Dhttp.proxyHost=host -Dhttp.proxyPort=80
102+
> ```
94103
95104
This will result in the following Docker image being created which contains the configuration and server-side
96105
artifacts to be use by all deployments.

0 commit comments

Comments
 (0)