diff options
Diffstat (limited to 'bin')
| -rwxr-xr-x | bin/docker-build | 2 | ||||
| -rwxr-xr-x | bin/docker-shell | 1 |
2 files changed, 2 insertions, 1 deletions
diff --git a/bin/docker-build b/bin/docker-build index 39a9160..2cd819f 100755 --- a/bin/docker-build +++ b/bin/docker-build @@ -6,7 +6,7 @@ cd "$(dirname "$0")/.." if command -v docker; then IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} - docker build -t "$IMAGE_NAME" . + docker build --network=host -t "$IMAGE_NAME" . else echo "Install docker: https://docs.docker.com/engine/installation/" exit 1 diff --git a/bin/docker-shell b/bin/docker-shell index 6d146a8..617492a 100755 --- a/bin/docker-shell +++ b/bin/docker-shell @@ -8,5 +8,6 @@ IMAGE_NAME=${IMAGE_NAME:-$(basename "$PWD"):latest} docker run --rm -it \ --entrypoint='' \ + --network=host \ --volume "$PWD":/opt/license-management \ "$IMAGE_NAME" /bin/bash -l |
