Browse Source

fix: remove docker and ssh auth config

Signed-off-by: Valentin Lab <valentin.lab@kalysto.org>
lokavaluto/dev/master
Valentin Lab 5 years ago
parent
commit
1e4e1e047f
  1. 11
      bin/compose

11
bin/compose

@ -837,7 +837,8 @@ mk_docker_run_options() {
"-e" "HOST_CONFIGSTORE=$CONFIGSTORE" "-e" "HOST_CONFIGSTORE=$CONFIGSTORE"
) )
docker_run_opts+=("-v" "$HOME/.docker:/root/.docker")
#docker_run_opts+=("-v" "$HOME/.docker:/root/.docker")
COMPOSE_DOCKER_IMAGE=${COMPOSE_DOCKER_IMAGE:-docker.0k.io/compose} COMPOSE_DOCKER_IMAGE=${COMPOSE_DOCKER_IMAGE:-docker.0k.io/compose}
docker_run_opts+=("-e" "COMPOSE_DOCKER_IMAGE=$COMPOSE_DOCKER_IMAGE") docker_run_opts+=("-e" "COMPOSE_DOCKER_IMAGE=$COMPOSE_DOCKER_IMAGE")
@ -848,10 +849,10 @@ mk_docker_run_options() {
## SSH config ## SSH config
docker_run_opts+=(
"-v" "$HOME/.ssh:/root/.ssh:ro"
"-v" "/etc/ssh:/etc/ssh:ro"
)
# docker_run_opts+=(
# "-v" "$HOME/.ssh:/root/.ssh:ro"
# "-v" "/etc/ssh:/etc/ssh:ro"
# )
COMPOSE_LAUNCHER_BIN=$(readlink -f "${BASH_SOURCE[0]}") COMPOSE_LAUNCHER_BIN=$(readlink -f "${BASH_SOURCE[0]}")
docker_run_opts+=("-v" "$COMPOSE_LAUNCHER_BIN:/usr/local/bin/compose") docker_run_opts+=("-v" "$COMPOSE_LAUNCHER_BIN:/usr/local/bin/compose")

Loading…
Cancel
Save