From 47cb8abf0e65e6985cbedefffc6cf48a07a2e34b Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Fri, 12 Jul 2024 06:06:25 +0200 Subject: [PATCH] Try adding more dependencies to see if the remote build succeeds --- Dockerfile | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 4a158bc7..46b8a88a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -53,11 +53,11 @@ RUN \ RUN \ if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ - apt-get install --assume-yes libpq-dev:amd64 libssl-dev:amd64; \ + apt-get install --assume-yes libpq5:amd64 libpq-dev:amd64 openssl:amd64 libssl-dev:amd64; \ elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ - apt-get install --assume-yes libpq-dev:arm64 libssl-dev:arm64; \ + apt-get install --assume-yes libpq5:arm64 libpq-dev:arm64 openssl:arm64 libssl-dev:arm64; \ elif [ "${TARGETPLATFORM}" = "linux/arm/v7" ]; then \ - apt-get install --assume-yes libpq-dev:armhf libssl-dev:armhf; \ + apt-get install --assume-yes libpq5:armhf libpq-dev:armhf openssl:armhf libssl-dev:armhf; \ fi COPY ./ ./ @@ -86,7 +86,7 @@ FROM --platform=${TARGETPLATFORM} rust:1-slim-bookworm AS final RUN apt-get update && \ apt-get upgrade --assume-yes && \ - apt-get install --assume-yes libpq5 + apt-get install --assume-yes libpq5 openssl WORKDIR /usr/src/royalnet/ COPY --from=builder \