From b072e60d44af8cfdfc102015ae58540dbf794d34 Mon Sep 17 00:00:00 2001 From: 4TT1L4 <2914096+4TT1L4@users.noreply.github.com> Date: Thu, 1 Aug 2024 14:19:28 +0200 Subject: [PATCH] Update Debian to bookworm in Dockerfile --- Dockerfile | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 3b42df55..09b5d202 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,4 @@ -FROM --platform=linux/amd64 rust:1-buster as builder-arm64 +FROM --platform=linux/amd64 rust:1.79.0-bookworm as builder-arm64 RUN apt update && apt upgrade -y RUN apt install -y g++-arm-linux-gnueabihf libc6-dev-armhf-cross @@ -14,7 +14,7 @@ ENV CARGO_TARGET_ARMV7_UNKNOWN_LINUX_GNUEABIHF_LINKER=arm-linux-gnueabihf-gcc \ -FROM --platform=linux/amd64 rust:1-buster as builder-amd64 +FROM --platform=linux/amd64 rust:1.79.0-bookworm as builder-amd64 ENV RUST_TARGET=x86_64-unknown-linux-gnu @@ -30,7 +30,7 @@ RUN cargo build --release --target ${RUST_TARGET} --all-features RUN cp /code/target/${RUST_TARGET}/release/scrolls /scrolls -FROM debian:buster-slim +FROM debian:bookworm-slim RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*