File tree Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Expand file tree Collapse file tree 2 files changed +16
-6
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ COPY . .
14
14
RUN cargo build --release --bin default-pbs
15
15
16
16
17
- FROM ubuntu AS runtime
17
+ FROM debian:bookworm-slim AS runtime
18
18
WORKDIR /app
19
19
20
- RUN apt-get update
21
- RUN apt-get install -y openssl ca-certificates libssl3 libssl-dev
20
+ RUN apt-get update && apt-get install -y \
21
+ openssl \
22
+ ca-certificates \
23
+ libssl3 \
24
+ libssl-dev \
25
+ && apt-get clean autoclean \
26
+ && rm -rf /var/lib/apt/lists/*
22
27
23
28
COPY --from=builder /app/target/release/default-pbs /usr/local/bin
24
29
ENTRYPOINT ["/usr/local/bin/default-pbs" ]
Original file line number Diff line number Diff line change @@ -14,11 +14,16 @@ COPY . .
14
14
RUN cargo build --release --bin signer-module
15
15
16
16
17
- FROM ubuntu AS runtime
17
+ FROM debian:bookworm-slim AS runtime
18
18
WORKDIR /app
19
19
20
- RUN apt-get update
21
- RUN apt-get install -y openssl ca-certificates libssl3 libssl-dev
20
+ RUN apt-get update && apt-get install -y \
21
+ openssl \
22
+ ca-certificates \
23
+ libssl3 \
24
+ libssl-dev \
25
+ && apt-get clean autoclean \
26
+ && rm -rf /var/lib/apt/lists/*
22
27
23
28
COPY --from=builder /app/target/release/signer-module /usr/local/bin
24
29
ENTRYPOINT ["/usr/local/bin/signer-module" ]
You can’t perform that action at this time.
0 commit comments