chore: Update Dockerfile to fix Teleport installation command and create teleport configuration file
Build and Push Docker Images / build-and-push (push) Successful in 18s

This commit is contained in:
Bram Kelchtermans
2024-08-19 17:00:34 +02:00
parent 3a5fdf83aa
commit a1a12c4f0c
+1 -1
View File
@@ -81,7 +81,7 @@ git config --global user.email $GIT_EMAIL
HOSTNAME=$(hostname) HOSTNAME=$(hostname)
## If teleport token is set and there is no teleport.yaml file, create one ## If teleport token is set and there is no teleport.yaml file, create one
if [ -n "$TELEPORT_TOKEN" ] && [! -f /etc/teleport.yaml]; then if [ -n "$TELEPORT_TOKEN" ] && [ ! -f /etc/teleport.yaml ]; then
teleport configure --roles=node --token=$TELEPORT_TOKEN --proxy=$TELEPORT_URL --no-acme -o file teleport configure --roles=node --token=$TELEPORT_TOKEN --proxy=$TELEPORT_URL --no-acme -o file
echo "Created teleport configuration file" echo "Created teleport configuration file"
fi fi