updated dependencies

This commit is contained in:
Lucas Briese 2021-11-08 11:28:08 +01:00
parent d73cc30676
commit 53276e94fd
2 changed files with 7 additions and 7 deletions

View File

@ -33,7 +33,7 @@ ENV STEAM_PATH="/home/steam" \
ENTRYPOINT ["./home/entrypoint.sh"] ENTRYPOINT ["./home/entrypoint.sh"]
#WORKDIR "$STEAM_PATH" #WORKDIR "$STEAM_PATH"
COPY ["entrypoint.sh", "initCron.sh", "createAlias.sh", "/home/"] COPY ["entrypoint.sh", "initCron.sh", "createAlias.sh", "/home/"]
# procps needed for ps command # procps needed for ps command
@ -41,8 +41,8 @@ COPY ["entrypoint.sh", "initCron.sh", "createAlias.sh", "/home/"]
RUN dpkg --add-architecture i386 && \ RUN dpkg --add-architecture i386 && \
apt-get update -y && \ apt-get update -y && \
apt-get install -y mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates \ apt-get install -y mailutils postfix curl wget file tar bzip2 gzip unzip bsdmainutils python util-linux ca-certificates \
binutils bc jq tmux lib32gcc1 libstdc++6 lib32stdc++6 libtinfo5:i386 netcat \ binutils bc jq tmux lib32gcc1 libstdc++6 lib32stdc++6 libtinfo5:i386 netcat libsdl2-2.0-0:i386 \
procps iproute2 && \ procps iproute2 && \
\ \
groupadd -g $GROUP_ID $DOCKER_USER && \ groupadd -g $GROUP_ID $DOCKER_USER && \
useradd -d "$STEAM_PATH" -g $GROUP_ID -u $USER_ID -m $DOCKER_USER && \ useradd -d "$STEAM_PATH" -g $GROUP_ID -u $USER_ID -m $DOCKER_USER && \

View File

@ -1,7 +1,7 @@
#!/bin/bash #!/bin/bash
readonly SUFFIX="$1" readonly SUFFIX="$1"
readonly SKIP_LGSM="$2" readonly BUILD_LGSM="$(grep -qF '--skip-lgsm' <<< "$@" && echo false || echo true)"
if [ "${DEBUGGING}" = "true" ]; then if [ "${DEBUGGING}" = "true" ]; then
set -o xtrace set -o xtrace
@ -15,7 +15,7 @@ set -o pipefail
echo "[testBuild][INFO]build" echo "[testBuild][INFO]build"
if [ "$SKIP_LGSM" = true ]; then if "$BUILD_LGSM"; then
docker rmi "jusito/docker-ttt:lgsm_debian${SUFFIX}" || true docker rmi "jusito/docker-ttt:lgsm_debian${SUFFIX}" || true
docker build --no-cache -t "jusito/docker-ttt:lgsm_debian${SUFFIX}" "lgsm/" docker build --no-cache -t "jusito/docker-ttt:lgsm_debian${SUFFIX}" "lgsm/"
fi fi
@ -26,5 +26,5 @@ docker build --no-cache -t "jusito/docker-ttt:gmod_debian${SUFFIX}" "gmod/"
docker rmi "jusito/docker-ttt:gmod_ttt_debian${SUFFIX}" || true docker rmi "jusito/docker-ttt:gmod_ttt_debian${SUFFIX}" || true
docker build --no-cache -t "jusito/docker-ttt:gmod_ttt_debian${SUFFIX}" "TTT/" docker build --no-cache -t "jusito/docker-ttt:gmod_ttt_debian${SUFFIX}" "TTT/"
docker rmi "$DOCKER_REPO:latest${SUFFIX}" || true docker rmi "jusito/docker-ttt:latest${SUFFIX}" || true
docker tag "$DOCKER_REPO:gmod_ttt_debian${SUFFIX}" "$DOCKER_REPO:latest${SUFFIX}" docker tag "jusito/docker-ttt:gmod_ttt_debian${SUFFIX}" "jusito/docker-ttt:latest${SUFFIX}"