Skip to content

Commit 1c8b8ce

Browse files
committed
ci: remove export install and python3
1 parent edbabb1 commit 1c8b8ce

File tree

1 file changed

+5
-11
lines changed

1 file changed

+5
-11
lines changed

Dockerfile

+5-11
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM rust:1-slim-bullseye as rust-builder
1+
FROM rust:1-slim-bookworm as rust-builder
22

33
WORKDIR /opt/rust/wof
44
RUN apt-get update \
@@ -8,14 +8,8 @@ RUN cargo fetch
88
COPY src src
99
RUN cargo build --release --features cli
1010

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
1612
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/

0 commit comments

Comments
 (0)