Skip to content

Commit 8228c19

Browse files
author
Marek Suchánek
committed
Update the Docker image base and Rust builder
1 parent 865c4b9 commit 8228c19

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -11,13 +11,13 @@
1111
# # CMD ["newdoc"]
1212
# ENTRYPOINT ["newdoc"]
1313

14-
## This configuration results in a small image based on Debian Buster without Rust tooling
15-
FROM rust:1.47 as builder
14+
## This configuration results in a small image based on Debian Bullseye without Rust tooling
15+
FROM rust:1.50 as builder
1616
WORKDIR /usr/src/newdoc
1717
COPY . .
1818
RUN cargo install --path .
1919

20-
FROM debian:buster-slim
20+
FROM debian:bullseye-slim
2121
# RUN apt-get update && apt-get install -y extra-runtime-dependencies
2222
COPY --from=builder /usr/local/cargo/bin/newdoc /usr/local/bin/newdoc
2323
ENTRYPOINT ["newdoc"]

0 commit comments

Comments
 (0)