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

Include OpenSSL headers for building the image

This commit is contained in:
Steffo 2024-07-12 06:02:40 +02:00
parent 20104bc120
commit e835db4641
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; \ apt-get install --assume-yes libpq-dev:amd64 libssl-dev:amd64; \
elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \ elif [ "${TARGETPLATFORM}" = "linux/arm64" ]; then \
apt-get install --assume-yes libpq-dev:arm64; \ apt-get install --assume-yes libpq-dev:arm64 libssl-dev:arm64; \
elif [ "${TARGETPLATFORM}" = "linux/arm/v7" ]; then \ elif [ "${TARGETPLATFORM}" = "linux/arm/v7" ]; then \
apt-get install --assume-yes libpq-dev:armhf; \ apt-get install --assume-yes libpq-dev:armhf libssl-dev:armhf; \
fi fi
COPY ./ ./ COPY ./ ./