Hopefully image layers will be the same and reduce total storage space usage, and will only need to update layers during real app changes

This commit is contained in:
William Miceli
2024-02-11 16:48:42 -05:00
parent 10fb45a2a0
commit 1e88f9ccc9
2 changed files with 3 additions and 2 deletions

View File

@@ -40,7 +40,7 @@ steps:
image: docker.io/library/docker:25.0.3-git image: docker.io/library/docker:25.0.3-git
commands: commands:
- sleep 10 # give docker enough time to initialize - sleep 10 # give docker enough time to initialize
- docker image build --cache-from git.williammiceli.systems/william/docker_satisfactory-server:latest --tag image:latest . - docker image build --tag image:latest .
volumes: volumes:
- name: dockersock - name: dockersock
path: /var/run path: /var/run

View File

@@ -28,7 +28,8 @@ USER steam
WORKDIR /home/steam WORKDIR /home/steam
# Install Satisfactory dedicated server # Install Satisfactory dedicated server
RUN steamcmd +force_install_dir /home/steam/satisfactory_server +login anonymous +app_update 1690800 -beta public validate +quit RUN steamcmd +force_install_dir /home/steam/satisfactory_server +login anonymous +app_update 1690800 -beta public validate +quit && \
rm -rf /tmp/* /var/tmp/* /home/steam/.local /home/steam/.steam
# Expose ports: # Expose ports:
# - 7777/udp for game traffic # - 7777/udp for game traffic