File tree Expand file tree Collapse file tree 3 files changed +5
-4
lines changed
Expand file tree Collapse file tree 3 files changed +5
-4
lines changed Original file line number Diff line number Diff line change 1- # Otherwise present user with bootstrap script to stdout
1+ # Otherwise (if not Atlantis) present user with bootstrap script to stdout
22gomplate -f /templates/bootstrap
33
44boot wrapper
Original file line number Diff line number Diff line change 11#! /bin/bash
22export DOCKER_IMAGE=" {{getenv " DOCKER_IMAGE" " cloudposse/geodesic" }}"
33export DOCKER_TAG=" {{- getenv " DOCKER_TAG" (printf " ${1:-% s-% s} " ((index (getenv " GEODESIC_VERSION" | strings.Split " " ) 0) | default " dev" ) (getenv " GEODESIC_OS" " debian" )) -}}"
4- export APP_NAME=${APP_NAME:- ${NAMESPACE:- $(basename ${DOCKER_IMAGE:- geodesic} )} }
5- export INSTALL_PATH=${INSTALL_PATH:-/ usr/ local/ bin}
4+ # export APP_NAME=${APP_NAME:-${NAMESPACE:-$(basename ${DOCKER_IMAGE:-geodesic})}}
5+ export APP_NAME=" {{- getenv " APP_NAME" (getenv " NAMESPACE" (path.Base (getenv " DOCKER_IMAGE" " geodesic" ))) -}}"
6+ export INSTALL_PATH=" {{- getenv " INSTALL_PATH" " /usr/local/bin" -}}"
67export SAFE_INSTALL_PATH=" $HOME /.local/bin" # per XDG recommendations
78export INSTALLER_NAME=" ${APP_NAME} -installer"
89export REQUIRE_PULL=${REQUIRE_PULL:- false}
Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ color "# docker run --rm ${DOCKER_IMAGE:-cloudposse/geodesic}:${version} init
3939color " #"
4040color " # After that, you should be able to launch Geodesic just by typing"
4141color " #"
42- color " # $( basename ${DOCKER_IMAGE:- geodesic} ) "
42+ color " # ${APP_NAME :- $ (basename ${DOCKER_IMAGE:- Geodesic} )} "
4343color " #"
4444color " ########################################################################################"
4545echo
You can’t perform that action at this time.
0 commit comments