Skip to content

Commit

Permalink
fix: pin specific debian image version
Browse files Browse the repository at this point in the history
  • Loading branch information
Maciej Wójcik committed Dec 21, 2023
1 parent 7a69e4f commit f93e901
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
FROM rust:1.74-slim as builder
FROM rust:1.74-slim-bookworm as builder

RUN apt-get update && apt-get -y install protobuf-compiler
WORKDIR /app
COPY . .
RUN cargo build --release

FROM debian:bullseye-slim
FROM debian:bookworm-slim
RUN apt-get update && apt-get -y --no-install-recommends install \
iproute2 wireguard-tools sudo && \
apt-get clean && rm -rf /var/lib/apt/lists/*
Expand Down

0 comments on commit f93e901

Please sign in to comment.