Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: add openssl to exec image too #99

Merged
merged 1 commit into from
Oct 27, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading