Update runtime to Debian 12
parent
e4afe7371d
commit
eefe2561f2
|
@ -8,7 +8,7 @@
|
||||||
# as using QEMU to compile takes way too long (multiple hours)
|
# as using QEMU to compile takes way too long (multiple hours)
|
||||||
|
|
||||||
# Builder
|
# Builder
|
||||||
FROM --platform=linux/amd64 rust:1.80.1-bullseye AS builder
|
FROM --platform=linux/amd64 rust:1.80.1-slim AS builder
|
||||||
|
|
||||||
WORKDIR /app
|
WORKDIR /app
|
||||||
|
|
||||||
|
@ -38,7 +38,7 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
|
||||||
cp /app/target/aarch64-unknown-linux-gnu/release/spoticord /app/aarch64
|
cp /app/target/aarch64-unknown-linux-gnu/release/spoticord /app/aarch64
|
||||||
|
|
||||||
# Runtime
|
# Runtime
|
||||||
FROM debian:buster-slim
|
FROM debian:bookworm-slim
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
ENV TARGETPLATFORM=${TARGETPLATFORM}
|
ENV TARGETPLATFORM=${TARGETPLATFORM}
|
||||||
|
|
Loading…
Reference in New Issue