From 74637771e9fcce4e4634a6b44edb0a419e4d91b8 Mon Sep 17 00:00:00 2001 From: Bram Kelchtermans Date: Mon, 19 Aug 2024 16:31:26 +0200 Subject: [PATCH] chore: Update Dockerfile to fix Teleport installation command --- Dockers/remote-react-container/entrypoint.sh | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Dockers/remote-react-container/entrypoint.sh b/Dockers/remote-react-container/entrypoint.sh index 627a31d..8a16d4f 100644 --- a/Dockers/remote-react-container/entrypoint.sh +++ b/Dockers/remote-react-container/entrypoint.sh @@ -54,8 +54,10 @@ fi # Install Teleport if the environment variables are set if [ -n "$TELEPORT_VERSION" ] && [ -n "$TELEPORT_URL" ]; then echo "Installing Teleport version $TELEPORT_VERSION, edition $TELEPORT_EDITION..." - echo "Executing: curl ${TELEPORT_URL}/install-v${TELEPORT_VERSION}.sh | bash -s ${TELEPORT_VERSION} ${TELEPORT_EDITION}" - curl ${TELEPORT_URL}/install-v${TELEPORT_VERSION}.sh | bash -s ${TELEPORT_VERSION} ${TELEPORT_EDITION} + echo "Executing: curl curl https://cdn.teleport.dev/install-v${TELEPORT_VERSION}.sh" + curl https://cdn.teleport.dev/install-v${TELEPORT_VERSION}.sh + echo "Execute downloaded script" + ./install-v${TELEPORT_VERSION}.sh ${TELEPORT_VERSION} ${TELEPORT_EDITION} else echo "Error: TELEPORT_VERSION and TELEPORT_EDITION environment variables must be set." fi