Skip to content

Commit

Permalink
fix: add openssl to exec image too
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanielc committed Oct 27, 2023
1 parent d860099 commit 649be1d
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -19,14 +19,19 @@ RUN --mount=type=cache,target=/home/builder/.cargo,uid=1001,gid=1001 \
cp ./target/release/keramik-runner ./target/release/keramik-operator ./

# This image needs to be the same as the parent image of rust-builder
FROM debian:bookworm-slim as runner
FROM debian:bookworm-slim as exec

RUN apt-get update && apt-get install -y \
openssl \
&& rm -rf /var/lib/apt/lists/*

FROM exec as runner

COPY --from=builder /home/builder/keramik/keramik-runner /usr/bin

ENTRYPOINT ["/usr/bin/keramik-runner"]

# This image needs to be the same as the parent image of rust-builder
FROM debian:bookworm-slim as operator
FROM exec as operator

COPY --from=builder /home/builder/keramik/keramik-operator /usr/bin

Expand Down

0 comments on commit 649be1d

Please sign in to comment.