Skip to content

Commit

Permalink
Update Debian to bookworm in Dockerfile
Browse files Browse the repository at this point in the history
  • Loading branch information
4TT1L4 committed Aug 1, 2024
1 parent 4641eca commit b072e60
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand All @@ -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

Expand All @@ -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/*

Expand Down

0 comments on commit b072e60

Please sign in to comment.