-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove env var DOCKER_HOST for Docker.mountDockerSocket.
Checking /var/run/docker.sock is the default anyway. The env var causes an issue with spring boot maven plugin when running maven inside a container: spring-projects/spring-boot#22300 Unfortunately, unsetting the var with "withEnv(['DOCKER_HOST='])" does not work, but setting an env var would work. So we remove the env var here, if anyone should need it (even though it's the default behavior!) it can just be set using "withEnv(['DOCKER_HOST=unix:///var/run/docker.sock'])".
- Loading branch information
1 parent
bfb4223
commit b2c6aa6
Showing
2 changed files
with
3 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters