Skip to content

Commit

Permalink
Update docker_config.sh
Browse files Browse the repository at this point in the history
Relating to comments in issue #2, added case for `linux-gnu` OSTYPE to implement the internal host when creating the docker container on this platform.
  • Loading branch information
Jbsco authored Nov 28, 2023
1 parent 983eb1c commit dee7786
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions docker/docker_config.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,13 @@ DOCKER_IMAGE_NAME="ghcr.io/lasp/adamant:example-latest"
export DOCKER_CONTAINER_NAME
export DOCKER_IMAGE_NAME

case "$OSTYPE" in
linux-gnu)
ON_LINUX="yes"
export ON_LINUX
;;
esac

# Helper function to print out command as executed:
execute () {
echo "$ $@"
Expand Down

0 comments on commit dee7786

Please sign in to comment.