Commit eff77d6 1 parent d5ddf66 commit eff77d6 Copy full SHA for eff77d6
File tree 2 files changed +4
-5
lines changed
2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change 4
4
fixtures
5
5
.github
6
6
.vscode
7
- examples
8
- benches
9
7
docs
10
8
.editorconfig
11
9
lychee.example.toml
Original file line number Diff line number Diff line change 1
- FROM rust:latest as builder
1
+ FROM rust:bookworm as builder
2
2
3
3
RUN USER=root cargo new --bin lychee
4
4
WORKDIR /lychee
@@ -18,11 +18,12 @@ RUN cargo build --release \
18
18
# dependencies were already built above.
19
19
COPY . ./
20
20
RUN rm ./target/release/deps/lychee* \
21
- && cargo build --release
21
+ && cargo build --release \
22
+ && strip target/release/lychee
22
23
23
24
# Our production image starts here, which uses
24
25
# the files from the builder image above.
25
- FROM debian:bullseye -slim
26
+ FROM debian:bookworm -slim
26
27
27
28
RUN apt-get update \
28
29
&& DEBIAN_FRONTEND=noninteractive apt-get install -y \
You can’t perform that action at this time.
0 commit comments