Skip to content

fix missing pkgs in dockerfile #60

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

Merged
merged 1 commit into from
Jun 14, 2024
Merged
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion coordinator.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,6 @@ RUN \
RUN cargo build --verbose --release --bin coordinator

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates libjemalloc2
RUN apt-get update && apt-get install -y ca-certificates libjemalloc2 make libssl-dev
COPY --from=builder ./target/release/coordinator /usr/local/bin/coordinator
CMD ["coordinator"]
4 changes: 2 additions & 2 deletions leader.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rustlang/rust:nightly-bullseye-slim@sha256:2be4bacfc86e0ec62dfa287949ceb47f9b6d9055536769bdee87b7c1788077a9 as builder

# Install jemalloc
RUN apt-get update && apt-get install -y libjemalloc2 libjemalloc-dev make clang-16
RUN apt-get update && apt-get install -y libjemalloc2 libjemalloc-dev make clang-16 libssl-dev pkg-config

RUN \
mkdir -p ops/src && touch ops/src/lib.rs && \
Expand Down Expand Up @@ -39,6 +39,6 @@ RUN \
RUN cargo build --verbose --release --bin leader

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates libjemalloc2
RUN apt-get update && apt-get install -y ca-certificates libjemalloc2 make libssl-dev
COPY --from=builder ./target/release/leader /usr/local/bin/leader
CMD ["leader"]
4 changes: 2 additions & 2 deletions worker.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
FROM rustlang/rust:nightly-bullseye-slim@sha256:2be4bacfc86e0ec62dfa287949ceb47f9b6d9055536769bdee87b7c1788077a9 as builder

# Install jemalloc
RUN apt-get update && apt-get install -y libjemalloc2 libjemalloc-dev make clang-16
RUN apt-get update && apt-get install -y libjemalloc2 libjemalloc-dev make clang-16 libssl-dev pkg-config

RUN \
mkdir -p common/src && touch common/src/lib.rs && \
Expand Down Expand Up @@ -31,6 +31,6 @@ RUN \
RUN cargo build --verbose --release --bin worker

FROM debian:bullseye-slim
RUN apt-get update && apt-get install -y ca-certificates libjemalloc2
RUN apt-get update && apt-get install -y ca-certificates libjemalloc2 make libssl-dev
COPY --from=builder ./target/release/worker /usr/local/bin/worker
CMD ["worker"]
Loading