Skip to content

Commit 1d69098

Browse files
committed
DOCKER: fix libssl.so.3 linking error for http-2-broker
Signed-off-by: Lance-Drane <[email protected]>
1 parent 30f827e commit 1d69098

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ RUN cargo chef prepare --bin ${BIN_NAME} --recipe-path recipe.json
1515

1616
FROM chef AS builder
1717
ARG BIN_NAME
18+
RUN apt update -y && apt upgrade -y && apt install -y --no-install-recommends pkg-config libssl-dev
1819
COPY --from=planner /app/recipe.json recipe.json
1920
# Build dependencies - this is the caching Docker layer!
2021
RUN cargo chef cook --release --bin ${BIN_NAME} --recipe-path recipe.json
@@ -26,6 +27,7 @@ RUN cargo build --release --bin ${BIN_NAME}
2627
FROM debian:stable-slim AS runtime
2728
ARG BIN_NAME
2829
WORKDIR /app
30+
RUN apt update -y && apt upgrade -y && apt install -y --no-install-recommends pkg-config libssl-dev
2931
COPY --from=builder /app/target/release/${BIN_NAME} /app/bin
30-
ENV PROXYAPP_PRODUCTION "true"
32+
ENV PROXYAPP_PRODUCTION="true"
3133
ENTRYPOINT ["/app/bin"]

0 commit comments

Comments
 (0)