File tree Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Expand file tree Collapse file tree 2 files changed +3
-4
lines changed Original file line number Diff line number Diff line change 1
1
# This Dockerfile is adapted from https://whitfin.io/blog/speeding-up-rust-docker-builds/
2
2
3
- FROM rust:1.83 as build
3
+ FROM rust:bookworm AS build
4
4
5
5
# create a new empty shell project
6
6
RUN USER=root cargo new --bin registry_api
7
7
WORKDIR /registry_api
8
8
9
9
# copy over your manifests
10
- COPY ./Cargo.lock ./Cargo.lock
11
10
COPY ./Cargo.toml ./Cargo.toml
12
11
13
12
# this build step will cache your dependencies
@@ -24,7 +23,7 @@ RUN rm ./target/release/deps/registry_api*
24
23
RUN cargo build --release
25
24
26
25
# our final base
27
- FROM debian:bookworm-20230703 -slim
26
+ FROM debian:bookworm-20250428 -slim
28
27
29
28
RUN apt-get update && apt-get install -y ca-certificates && rm -rf /var/lib/apt/lists/*
30
29
Original file line number Diff line number Diff line change 1
- FROM denoland/deno:alpine-2.0.5
1
+ FROM denoland/deno:alpine-2.3.1
2
2
3
3
WORKDIR /app
4
4
You can’t perform that action at this time.
0 commit comments