chore: Update Dockerfile to fix Teleport installation command
Build and Push Docker Images / build-and-push (push) Successful in 16s
Build and Push Docker Images / build-and-push (push) Successful in 16s
This commit is contained in:
1 parent
eaffaa8b3c
commit
74637771e9
1 file changed
+4
-2
@@ -54,8 +54,10 @@ fi
|
|||||||
# Install Teleport if the environment variables are set
|
# Install Teleport if the environment variables are set
|
||||||
if [ -n "$TELEPORT_VERSION" ] && [ -n "$TELEPORT_URL" ]; then
|
if [ -n "$TELEPORT_VERSION" ] && [ -n "$TELEPORT_URL" ]; then
|
||||||
echo "Installing Teleport version $TELEPORT_VERSION, edition $TELEPORT_EDITION..."
|
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}"
|
echo "Executing: curl curl https://cdn.teleport.dev/install-v${TELEPORT_VERSION}.sh"
|
||||||
curl ${TELEPORT_URL}/install-v${TELEPORT_VERSION}.sh | bash -s ${TELEPORT_VERSION} ${TELEPORT_EDITION}
|
curl https://cdn.teleport.dev/install-v${TELEPORT_VERSION}.sh
|
||||||
|
echo "Execute downloaded script"
|
||||||
|
./install-v${TELEPORT_VERSION}.sh ${TELEPORT_VERSION} ${TELEPORT_EDITION}
|
||||||
else
|
else
|
||||||
echo "Error: TELEPORT_VERSION and TELEPORT_EDITION environment variables must be set."
|
echo "Error: TELEPORT_VERSION and TELEPORT_EDITION environment variables must be set."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in new issue
Block a user