Update which deb archive to use within the runtime Dockerfile

This commit is contained in:
Luke Parker
2025-08-09 02:13:33 -04:00
parent 8297d0679d
commit 9536282418

View File

@@ -1,14 +1,14 @@
# rust:1.89.0-slim-bookworm as of July 27th, 2024 (GMT)
FROM --platform=linux/amd64 rust@sha256:703cfb0f80db8eb8a3452bf5151162472039c1b37fe4fb2957b495a6f0104ae7 as deterministic
# rust:1.89.0-slim-bookworm as of August 1st, 2025 (GMT)
FROM --platform=linux/amd64 rust@sha256:703cfb0f80db8eb8a3452bf5151162472039c1b37fe4fb2957b495a6f0104ae7 AS deterministic
# Move to a Debian package snapshot
RUN rm -rf /etc/apt/sources.list.d/debian.sources && \
rm -rf /var/lib/apt/lists/* && \
echo "deb [arch=amd64] http://snapshot.debian.org/archive/debian/20240301T000000Z bookworm main" > /etc/apt/sources.list && \
echo "deb [arch=amd64] http://snapshot.debian.org/archive/debian/20250801T000000Z bookworm main" > /etc/apt/sources.list && \
apt update
# Install dependencies
RUN apt update && apt upgrade && apt install -y --fix-missing --fix-broken clang
RUN apt update -y && apt upgrade -y && apt install -y clang
# Add the wasm toolchain
RUN rustup target add wasm32-unknown-unknown