From d8fdbbcb5ec788d1f334871a49085ae9e1e999da Mon Sep 17 00:00:00 2001 From: Augustin Mauroy <97875033+AugustinMauroy@users.noreply.github.com> Date: Sun, 4 May 2025 13:02:52 +0200 Subject: [PATCH] docker: update dep --- api/Dockerfile | 5 ++--- frontend/Dockerfile | 2 +- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/api/Dockerfile b/api/Dockerfile index c3db06ef..bd51ade7 100644 --- a/api/Dockerfile +++ b/api/Dockerfile @@ -1,13 +1,12 @@ # This Dockerfile is adapted from https://whitfin.io/blog/speeding-up-rust-docker-builds/ -FROM rust:1.83 as build +FROM rust:bookworm AS build # create a new empty shell project RUN USER=root cargo new --bin registry_api WORKDIR /registry_api # copy over your manifests -COPY ./Cargo.lock ./Cargo.lock COPY ./Cargo.toml ./Cargo.toml # this build step will cache your dependencies @@ -24,7 +23,7 @@ RUN rm ./target/release/deps/registry_api* RUN cargo build --release # our final base -FROM debian:bookworm-20230703-slim +FROM debian:bookworm-20250428-slim RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/* diff --git a/frontend/Dockerfile b/frontend/Dockerfile index 13681490..64db93bf 100644 --- a/frontend/Dockerfile +++ b/frontend/Dockerfile @@ -1,4 +1,4 @@ -FROM denoland/deno:alpine-2.0.5 +FROM denoland/deno:alpine-2.3.1 WORKDIR /app