Skip to content

Commit

Permalink
bullseye slim
Browse files Browse the repository at this point in the history
  • Loading branch information
Hampton Moore committed Jan 16, 2024
1 parent f670404 commit 407945d
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build stage
FROM rust:1.75-bullseye as builder
FROM rust:1.75-slim-bullseye as builder

# Copy the source code
ADD . .
Expand All @@ -10,8 +10,10 @@ RUN --mount=type=cache,target=/usr/local/cargo/registry \
cargo build --release

# Final stage
FROM debian:bullseye
FROM debian:bullseye-slim

RUN apt-get update
RUN apt-get install pkg-config libssl-dev -y

ENV COMMIT=${COMMIT}
ENV REF=${REF}
Expand Down

0 comments on commit 407945d

Please sign in to comment.