File tree 1 file changed +5
-11
lines changed
1 file changed +5
-11
lines changed Original file line number Diff line number Diff line change 1
- FROM rust:1-slim-bullseye as rust-builder
1
+ FROM rust:1-slim-bookworm as rust-builder
2
2
3
3
WORKDIR /opt/rust/wof
4
4
RUN apt-get update \
@@ -8,14 +8,8 @@ RUN cargo fetch
8
8
COPY src src
9
9
RUN cargo build --release --features cli
10
10
11
- FROM python:3-bullseye as python-builder
12
- COPY --from=rust-builder /opt/rust/wof/target/release/wof /bin/
13
- RUN wof install export
14
-
15
- FROM debian:bullseye
11
+ FROM debian:bookworm
16
12
RUN apt-get update \
17
- && apt-get install -y --no-install-recommends python3 ca-certificates \
18
- && mkdir /root/.wof \
19
- && ln -s /usr/bin/python3 /usr/local/bin/python
20
- COPY --from=rust-builder /opt/rust/wof/target/release/wof /bin/
21
- COPY --from=python-builder /root/.wof /root/.wof
13
+ && apt-get install -y --no-install-recommends ca-certificates \
14
+ && mkdir /root/.wof
15
+ COPY --from=rust-builder /opt/rust/wof/target/release/wof /bin/
You can’t perform that action at this time.
0 commit comments