Update runtime to Debian 12

main
DaXcess 2024-08-21 11:41:40 +02:00
parent e4afe7371d
commit eefe2561f2
No known key found for this signature in database
GPG Key ID: CF78CC72F0FD5EAD
1 changed files with 2 additions and 2 deletions

View File

@ -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}