Skip to content

Commit

Permalink
install pkg-config
Browse files Browse the repository at this point in the history
  • Loading branch information
codingkarthik committed Jan 28, 2025
1 parent 0aa5bdd commit 5d3a19e
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
# Build stage for cargo-chef
FROM rust:1.78.0-slim AS chef
WORKDIR /app
RUN --mount=type=cache,target=/usr/local/cargo/registry \
RUN apt-get update && \
apt-get install -y pkg-config libssl-dev && \
rm -rf /var/lib/apt/lists/* && \
--mount=type=cache,target=/usr/local/cargo/registry \
cargo install cargo-chef

# Planning stage
Expand Down Expand Up @@ -76,4 +79,4 @@ ENV HASURA_CONFIGURATION_DIRECTORY=/etc/connector \
RUST_BACKTRACE=full

ENTRYPOINT ["ndc-calcite"]
CMD ["serve"]
CMD ["serve"]

0 comments on commit 5d3a19e

Please sign in to comment.