diff --git a/preview-service/container/Dockerfile b/preview-service/container/Dockerfile index cfed8f6d..8541570a 100644 --- a/preview-service/container/Dockerfile +++ b/preview-service/container/Dockerfile @@ -6,25 +6,25 @@ # was Factorio 2.1.14 against a pin that meant 2.1.12, and only the assertion # below stood between it and production. # -# With the tag present, Renovate tracks `2.1.16` and can only ever re-pin THAT +# With the tag present, Renovate tracks `2.1.17` and can only ever re-pin THAT # tag's digest, so a silent version jump is impossible by construction rather # than merely detectable. Moving to a new Factorio is then a deliberate edit of # the tag, the digest and the assertion together - which # test/dockerfile.test.mjs checks stay in agreement. # # Refresh the digest for a tag with: -# docker pull --platform linux/amd64 factoriotools/factorio:2.1.16 -# docker inspect --format='{{index .RepoDigests 0}}' factoriotools/factorio:2.1.16 -FROM factoriotools/factorio:2.1.16@sha256:f96d574869b633a849cc68d500ad066bd0eb55228e5b4f00047baf7cf5bc8ed9 +# docker pull --platform linux/amd64 factoriotools/factorio:2.1.17 +# docker inspect --format='{{index .RepoDigests 0}}' factoriotools/factorio:2.1.17 +FROM factoriotools/factorio:2.1.17@sha256:e9227748c507a52f97bbd42c88e5c73702297bbdf4322c2f3ca8a71676ec1222 # Node for the HTTP wrapper (base image is Debian-based). USER root RUN apt-get update && apt-get install -y --no-install-recommends nodejs && rm -rf /var/lib/apt/lists/* -# Fail fast if the pinned Factorio is not 2.1.16. This runs only at image BUILD +# Fail fast if the pinned Factorio is not 2.1.17. This runs only at image BUILD # time, which no PR does (#183) - so it is the last line of defence, not the # first. Keep it in step with the FROM tag above. -RUN /opt/factorio/bin/x64/factorio --version | grep -q "Version: 2.1.16" +RUN /opt/factorio/bin/x64/factorio --version | grep -q "Version: 2.1.17" WORKDIR /app COPY render.mjs server.mjs ./ diff --git a/preview-service/worker/worker-configuration.d.ts b/preview-service/worker/worker-configuration.d.ts index ecaf6a49..93be5369 100644 --- a/preview-service/worker/worker-configuration.d.ts +++ b/preview-service/worker/worker-configuration.d.ts @@ -1,9 +1,9 @@ /* eslint-disable */ -// Generated by Wrangler by running `wrangler types` (hash: b7bebf05356e1de341cb5b68ffc140cf) +// Generated by Wrangler by running `wrangler types` (hash: 2bc045439fda175885fb82da314ab30d) // Runtime types generated with workerd@1.20260815.1 2026-07-01 nodejs_compat interface __BaseEnv_Env { PREVIEW_CACHE: R2Bucket; - FACTORIO_VERSION: "2.1.16"; + FACTORIO_VERSION: "2.1.17"; MONTHLY_RENDER_BUDGET: "5000"; ALLOWED_ORIGIN: "https://map.factorygamefan.com"; PREVIEW_CONTAINER: DurableObjectNamespace; diff --git a/preview-service/worker/wrangler.jsonc b/preview-service/worker/wrangler.jsonc index 0db168ef..1bfb55a5 100644 --- a/preview-service/worker/wrangler.jsonc +++ b/preview-service/worker/wrangler.jsonc @@ -4,7 +4,7 @@ "compatibility_date": "2026-07-01", "compatibility_flags": ["nodejs_compat"], "vars": { - "FACTORIO_VERSION": "2.1.16", + "FACTORIO_VERSION": "2.1.17", "MONTHLY_RENDER_BUDGET": "5000", "ALLOWED_ORIGIN": "https://map.factorygamefan.com", },