From 649be1db620c1ddfc89ae9b0f3ffb5454429149a Mon Sep 17 00:00:00 2001 From: Nathaniel Cook Date: Fri, 27 Oct 2023 16:32:02 -0600 Subject: [PATCH] fix: add openssl to exec image too --- Dockerfile | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index b7c6cf1f..946d44b9 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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