1
Fork 0
mirror of https://github.com/RYGhub/royalnet.git synced 2024-11-22 11:04:21 +00:00

Try adding more dependencies to see if the remote build succeeds

This commit is contained in:
Steffo 2024-07-12 06:06:25 +02:00
parent e835db4641
commit 47cb8abf0e
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0

View file

@ -53,11 +53,11 @@ RUN \
RUN \ RUN \
if [ "${TARGETPLATFORM}" = "linux/amd64" ]; then \ 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 \ 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 \ 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 fi
COPY ./ ./ COPY ./ ./
@ -86,7 +86,7 @@ FROM --platform=${TARGETPLATFORM} rust:1-slim-bookworm AS final
RUN apt-get update && \ RUN apt-get update && \
apt-get upgrade --assume-yes && \ apt-get upgrade --assume-yes && \
apt-get install --assume-yes libpq5 apt-get install --assume-yes libpq5 openssl
WORKDIR /usr/src/royalnet/ WORKDIR /usr/src/royalnet/
COPY --from=builder \ COPY --from=builder \