Skip to content
Open
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
10 changes: 5 additions & 5 deletions images/valheim-server/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -9,17 +9,17 @@
# The digest is the multi-arch index; --platform selects amd64 out of it. The
# constant is the point and the lint rule above is skipped for it: the guest is
# x86-64 whatever the build platform is, so this must not follow TARGETPLATFORM.
FROM --platform=linux/amd64 ubuntu:24.04@sha256:534baea6a22c03a63003dbc8dbe78fe34bc0d7e595d9a9dc9834884ff530eb55 AS guest-base
FROM --platform=linux/amd64 ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 AS guest-base

FROM ubuntu:24.04@sha256:534baea6a22c03a63003dbc8dbe78fe34bc0d7e595d9a9dc9834884ff530eb55 AS guest
FROM ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 AS guest
RUN apt-get update && apt-get install -y --no-install-recommends \
ca-certificates curl \
&& rm -rf /var/lib/apt/lists/*
COPY --from=guest-base / /rootfs/
COPY build-guest-rootfs.sh /usr/local/bin/
RUN chmod +x /usr/local/bin/build-guest-rootfs.sh && build-guest-rootfs.sh /rootfs

FROM ubuntu:24.04@sha256:534baea6a22c03a63003dbc8dbe78fe34bc0d7e595d9a9dc9834884ff530eb55 AS fex
FROM ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 AS fex
ARG TARGETARCH
# renovate: datasource=github-releases depName=FEX-Emu/FEX extractVersion=^FEX-(?<version>.+)$
ARG FEX_VERSION=2609
Expand All @@ -31,7 +31,7 @@ RUN chmod +x /usr/local/bin/install-fex.sh \
&& mkdir -p /opt/fex /usr/share/fex-emu \
&& if [ "${TARGETARCH}" = "arm64" ]; then install-fex.sh "${FEX_VERSION}" /opt/fex; fi

FROM ubuntu:24.04@sha256:534baea6a22c03a63003dbc8dbe78fe34bc0d7e595d9a9dc9834884ff530eb55 AS depotdownloader
FROM ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944 AS depotdownloader
ARG TARGETARCH
# renovate: datasource=github-releases depName=SteamRE/DepotDownloader extractVersion=^DepotDownloader_(?<version>.+)$
ARG DEPOTDOWNLOADER_VERSION=3.4.0
Expand All @@ -52,7 +52,7 @@ RUN case "${TARGETARCH}" in \
&& chmod +x /usr/local/bin/DepotDownloader \
&& /usr/local/bin/DepotDownloader -V

FROM ubuntu:24.04@sha256:534baea6a22c03a63003dbc8dbe78fe34bc0d7e595d9a9dc9834884ff530eb55
FROM ubuntu:26.04@sha256:c098726dd9b9733f3e885f8de0ef375206a311b0a317eadc40d347b1115fb944
ARG TARGETARCH

# One source of truth for the identity. The runtime user, the guest passwd
Expand Down
Loading