Skip to content

Commit

Permalink
build: use base instead of static distroless image
Browse files Browse the repository at this point in the history
Co-authored-by: Tommy Trøen <tommy.troen@nav.no>
Co-authored-by: Kim Tore Jensen <kimtjen@gmail.com>
  • Loading branch information
3 people committed Oct 30, 2024
1 parent 5e75279 commit 86a7ffe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ COPY . /src
WORKDIR /src
RUN cargo build --release

FROM gcr.io/distroless/static-debian12:nonroot
FROM gcr.io/distroless/base-debian12:nonroot
WORKDIR /app
COPY --from=builder /src/target/release/texas /app/texas
CMD ["/app/texas"]

0 comments on commit 86a7ffe

Please sign in to comment.