Skip to content

Commit cfe4421

Browse files
committed
install pkg-config too
1 parent 08145db commit cfe4421

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ ARG APP_NAME
1414
WORKDIR /app
1515

1616
# We don't need to clear the apt cache here since it's not used in the final image
17-
RUN apt-get update && apt-get install -y openssl
17+
RUN apt-get update && apt-get install -y openssl pkg-config
1818

1919
# Build the application.
2020
# Leverage a cache mount to /usr/local/cargo/registry/
@@ -41,7 +41,7 @@ EOF
4141
# stage.
4242
FROM debian:bookworm-slim AS final
4343

44-
RUN apt-get update && apt-get install -y openssl && rm -rf /var/lib/apt/lists/*
44+
RUN apt-get update && apt-get install -y openssl pkg-config && rm -rf /var/lib/apt/lists/*
4545

4646
# Create a non-privileged user that the app will run under.
4747
# See https://docs.docker.com/develop/develop-images/dockerfile_best-practices/#user

0 commit comments

Comments
 (0)