Skip to content

Commit

Permalink
chore: update OCI base image to Debian 12 (bookworm) (#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
4TT1L4 authored Jul 28, 2024
1 parent 02fb852 commit f26de02
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-bullseye as builder-arm64
FROM --platform=linux/amd64 rust:1-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-bullseye as builder-amd64
FROM --platform=linux/amd64 rust:1-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/oura /oura

FROM debian:bullseye-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 f26de02

Please sign in to comment.