Skip to content

Commit

Permalink
rootfs/templates/wrapper: add GEODESIC_DEFAULT_ENV_FILE (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
tamsky authored and osterman committed Jun 15, 2018
1 parent fc24506 commit 0ad1884
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions rootfs/templates/wrapper
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,12 @@ function use() {
DOCKER_ARGS+=(--env-file ${ENV_FILE})
fi

# allow users to override value of GEODESIC_DEFAULT_ENV_FILE
local geodesic_default_env_file=${GEODESIC_DEFAULT_ENV_FILE:-~/.geodesic/env}
if [ -f "${geodesic_default_env_file}" ]; then
DOCKER_ARGS+=(--env-file=${geodesic_default_env_file})
fi

if [ "${OS}" == "Darwin" ]; then
# Run in privleged mode to enable time synchronization of system clock with hardware clock
# Implement DNS fix related to https://github.com/docker/docker/issues/24344
Expand Down

0 comments on commit 0ad1884

Please sign in to comment.