Browse Source
Update Debian base images in Dockerfile
pull/7236/head
Jason Yang
3 months ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
2 additions and
2 deletions
-
docker/Dockerfile.debian
|
|
|
@ -36,7 +36,7 @@ FROM --platform=linux/amd64 docker.io/tonistiigi/xx@sha256:c64defb9ed5a91eacb37f |
|
|
|
|
|
|
|
########################## BUILD IMAGE ########################## |
|
|
|
# hadolint ignore=DL3006 |
|
|
|
FROM --platform=$BUILDPLATFORM docker.io/library/rust:1.93.1-slim-trixie AS build |
|
|
|
FROM --platform=$BUILDPLATFORM docker.io/library/rust:1.93.1-slim-bookworm AS build |
|
|
|
COPY --from=xx / / |
|
|
|
ARG TARGETARCH |
|
|
|
ARG TARGETVARIANT |
|
|
|
@ -161,7 +161,7 @@ RUN source /env-cargo && \ |
|
|
|
# To uninstall: docker run --privileged --rm tonistiigi/binfmt --uninstall 'qemu-*' |
|
|
|
# |
|
|
|
# We need to add `--platform` here, because of a podman bug: https://github.com/containers/buildah/issues/4742 |
|
|
|
FROM --platform=$TARGETPLATFORM docker.io/library/debian:trixie-slim |
|
|
|
FROM --platform=$TARGETPLATFORM docker.io/library/debian:bookworm-slim |
|
|
|
|
|
|
|
ENV ROCKET_PROFILE="release" \ |
|
|
|
ROCKET_ADDRESS=0.0.0.0 \ |
|
|
|
|