This commit is contained in:
Jade Ellis 2025-01-19 12:58:47 +00:00
parent db2f038f0a
commit 8132b98ac3
No known key found for this signature in database
GPG key ID: 8705A2A3EBF77BD2

View file

@ -1,7 +1,4 @@
ARG RUST_VERSION=1.84
# Match Rustc version as close as possible
# rustc -vV
ARG LLVM_VERSION=19
FROM --platform=$BUILDPLATFORM docker.io/tonistiigi/xx AS xx
FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-slim-bookworm AS base
@ -10,6 +7,9 @@ FROM --platform=$BUILDPLATFORM rust:${RUST_VERSION}-slim-bookworm AS builder
# Prevent deletion of apt cache
RUN rm -f /etc/apt/apt.conf.d/docker-clean
# Match Rustc version as close as possible
# rustc -vV
ARG LLVM_VERSION=19
ENV RUSTUP_TOOLCHAIN=${RUST_VERSION}
# Install repo tools