Skip to content
This repository has been archived by the owner on Dec 25, 2021. It is now read-only.

Commit

Permalink
Merge pull request #36 from WadeBarnes/fix/docker-networking-updates
Browse files Browse the repository at this point in the history
Add support for changes to internal Docker networking.
  • Loading branch information
WadeBarnes authored Dec 8, 2021
2 parents 7e0fcc7 + 54c3581 commit 0406e45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion docker/manage
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
#!/bin/bash
export MSYS_NO_PATHCONV=1
export DOCKERHOST=${APPLICATION_URL-$(docker run --rm --net=host eclipse/che-ip)}
# getDockerHost; for details refer to https://github.com/bcgov/DITP-DevOps/tree/main/code/snippets#getdockerhost
. /dev/stdin <<<"$(cat <(curl -s --raw https://raw.githubusercontent.com/bcgov/DITP-DevOps/main/code/snippets/getDockerHost))"
export DOCKERHOST=$(getDockerHost)
set -e

S2I_EXE=s2i
Expand Down

0 comments on commit 0406e45

Please sign in to comment.