From eda64d0eceec5610d0045c541b5ec00bf9fb8a23 Mon Sep 17 00:00:00 2001 From: TheiLLeniumStudios <104288623+TheiLLeniumStudios@users.noreply.github.com> Date: Mon, 6 Feb 2023 15:03:39 +0000 Subject: [PATCH] Update --- Dockerfile | 2 ++ entrypoint.sh | 4 ---- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index ef3ffce..faf1d3f 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,6 +1,8 @@ # Container image that runs your code FROM alpine:3.17 +RUN apk add --no-cache git + # Use icecon instead. For some reason rcon-cli doesn't send a valid command #ARG RCON_VERSION="0.10.2" # diff --git a/entrypoint.sh b/entrypoint.sh index d40ff75..5977a3c 100755 --- a/entrypoint.sh +++ b/entrypoint.sh @@ -78,10 +78,6 @@ if ! is_array_empty "$resources_to_restart"; then echo "Will restart individual resources" for resource in $resources_to_restart; do echo "Restarting ${resource}" - echo "ensure ${resource} ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD}" - which icecon - icecon --help - icecon icecon --command "ensure ${resource}" ${SERVER_IP}:${SERVER_PORT} ${RCON_PASSWORD} done else