~ try 204, automated build vs me
This commit is contained in:
parent
0b560e0660
commit
40a74afc65
@ -2,7 +2,7 @@ FROM jusito/docker-ttt:gmod_debian
|
|||||||
|
|
||||||
ENV SERVER_GAMEMODE="terrortown"
|
ENV SERVER_GAMEMODE="terrortown"
|
||||||
|
|
||||||
COPY "TTT/server.cfg.default" "/home/server.cfg.default"
|
COPY "server.cfg.default" "/home/server.cfg.default"
|
||||||
|
|
||||||
USER "$USER_ID:$GROUP_ID"
|
USER "$USER_ID:$GROUP_ID"
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ ENV CSS_PATH="/home/steam/addons/css" \
|
|||||||
USE_MY_REPLACER_CONFIG=false
|
USE_MY_REPLACER_CONFIG=false
|
||||||
|
|
||||||
|
|
||||||
COPY ["gmod/prepareServer.sh", "gmod/initConfig.sh", "gmod/forceWorkshopDownload.sh", "gmod/installAndMountAddons.sh", "gmod/common.cfg", "/home/"]
|
COPY ["prepareServer.sh", "initConfig.sh", "forceWorkshopDownload.sh", "installAndMountAddons.sh", "common.cfg", "/home/"]
|
||||||
|
|
||||||
RUN chown "$DOCKER_USER:$DOCKER_USER" /home/prepareServer.sh && \
|
RUN chown "$DOCKER_USER:$DOCKER_USER" /home/prepareServer.sh && \
|
||||||
chown "$DOCKER_USER:$DOCKER_USER" /home/initConfig.sh && \
|
chown "$DOCKER_USER:$DOCKER_USER" /home/initConfig.sh && \
|
||||||
|
@ -34,7 +34,7 @@ ENTRYPOINT ["./home/entrypoint.sh"]
|
|||||||
|
|
||||||
#WORKDIR "$STEAM_PATH"
|
#WORKDIR "$STEAM_PATH"
|
||||||
|
|
||||||
COPY ["lgsm/entrypoint.sh", "lgsm/initCron.sh", "lgsm/createAlias.sh", "/home/"]
|
COPY ["entrypoint.sh", "initCron.sh", "createAlias.sh", "/home/"]
|
||||||
|
|
||||||
# procps needed for ps command
|
# procps needed for ps command
|
||||||
# iproute2 needed because of "-slim"
|
# iproute2 needed because of "-slim"
|
||||||
|
@ -5,3 +5,4 @@
|
|||||||
#set -o nounset
|
#set -o nounset
|
||||||
|
|
||||||
ls -lA
|
ls -lA
|
||||||
|
ls -lA ..
|
@ -4,12 +4,14 @@
|
|||||||
#set -o pipefail
|
#set -o pipefail
|
||||||
#set -o nounset
|
#set -o nounset
|
||||||
|
|
||||||
ls -lA
|
|
||||||
|
|
||||||
#docker build -t "$DOCKER_REPO:lgsm_debian" "lgsm/"
|
#docker build -t "$DOCKER_REPO:lgsm_debian" "lgsm/"
|
||||||
docker build -f gmod/Dockerfile -t "$DOCKER_REPO:gmod_debian" "."
|
cd ..
|
||||||
docker build -f TTT/Dockerfile -t "$DOCKER_REPO:gmod_ttt_debian" "."
|
docker build -t "$DOCKER_REPO:gmod_debian" "gmod/"
|
||||||
|
docker build -t "$DOCKER_REPO:gmod_ttt_debian" "TTT/"
|
||||||
docker tag "$DOCKER_REPO:gmod_ttt_debian" "$DOCKER_REPO:latest"
|
docker tag "$DOCKER_REPO:gmod_ttt_debian" "$DOCKER_REPO:latest"
|
||||||
docker push "$DOCKER_REPO:latest"
|
|
||||||
docker push "$DOCKER_REPO:gmod_debian"
|
docker push "$DOCKER_REPO:gmod_debian"
|
||||||
docker push "$DOCKER_REPO:gmod_ttt_debian"
|
docker push "$DOCKER_REPO:gmod_ttt_debian"
|
||||||
|
docker push "$DOCKER_REPO:latest"
|
||||||
|
|
||||||
|
|
||||||
|
@ -13,10 +13,10 @@ set -o pipefail
|
|||||||
echo "[testBuild][INFO]build"
|
echo "[testBuild][INFO]build"
|
||||||
|
|
||||||
docker rmi "jusito/docker-ttt:lgsm_debian" || true
|
docker rmi "jusito/docker-ttt:lgsm_debian" || true
|
||||||
docker build -f lgsm/Dockerfile -t "jusito/docker-ttt:lgsm_debian" "."
|
docker build -t "jusito/docker-ttt:lgsm_debian" "lgsm/"
|
||||||
|
|
||||||
docker rmi "jusito/docker-ttt:gmod_debian" || true
|
docker rmi "jusito/docker-ttt:gmod_debian" || true
|
||||||
docker build -f gmod/Dockerfile -t "jusito/docker-ttt:gmod_debian" "."
|
docker build -t "jusito/docker-ttt:gmod_debian" "gmod/"
|
||||||
|
|
||||||
docker rmi "jusito/docker-ttt:gmod_ttt_debian" || true
|
docker rmi "jusito/docker-ttt:gmod_ttt_debian" || true
|
||||||
docker build -f TTT/Dockerfile -t "jusito/docker-ttt:gmod_ttt_debian" "."
|
docker build -t "jusito/docker-ttt:gmod_ttt_debian" "TTT/"
|
Loading…
Reference in New Issue
Block a user