Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to 2.0.9, fix deprecated env vars #18

Merged
merged 1 commit into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 9 additions & 9 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# Intermediate staging container
FROM debian:12-slim AS staging

ARG VERSION="2.0.8"
ARG SHA256="d9594c4d552a3e4f965b188a4774da8c8b010fc23ddb0efc63b1d94818dde1ca"
ARG VERSION="2.0.9"
ARG SHA256="f499077b3e2c1313452c350f1faf17db31cae2a0fa738f69166e97c3caa3c86d"
ARG URL="https://www.factorio.com/get-download/${VERSION}/headless/linux64"

# Create staging directory
Expand All @@ -26,13 +26,13 @@ FROM debian:12-slim
LABEL maintainer="Alexandre Gauthier <[email protected]>" \
description="Factorio Server"

ENV FACTORIO_HOME /opt/factorio
ENV FACTORIO_VOLUME ${FACTORIO_HOME}/volume
ENV FACTORIO_CONFIGDIR ${FACTORIO_VOLUME}/config
ENV FACTORIO_SAVESDIR ${FACTORIO_VOLUME}/saves
ENV FACTORIO_MODSDIR ${FACTORIO_VOLUME}/mods
ENV FACTORIO_PORT 34197
ENV FACTORIO_RCON_PORT 27015
ENV FACTORIO_HOME=/opt/factorio
ENV FACTORIO_VOLUME=${FACTORIO_HOME}/volume
ENV FACTORIO_CONFIGDIR=${FACTORIO_VOLUME}/config
ENV FACTORIO_SAVESDIR=${FACTORIO_VOLUME}/saves
ENV FACTORIO_MODSDIR=${FACTORIO_VOLUME}/mods
ENV FACTORIO_PORT=34197
ENV FACTORIO_RCON_PORT=27015

# Create runtime directories
RUN mkdir -p /opt/factorio/volume && mkdir -p /opt/factorio/config
Expand Down
Loading