0
0
Fork 0
mirror of https://git.verdigado.com/NB-Public/simple-wkd.git synced 2024-12-05 02:32:53 +01:00

Explain why openssl is static

This commit is contained in:
Delta1925 2023-04-17 23:26:13 +02:00
parent 85b2c707b8
commit dd6e3c0f4a
No known key found for this signature in database
GPG key ID: 1C21ACE44193CB25

View file

@ -5,6 +5,7 @@ RUN apk add --no-cache openssl-dev openssl-libs-static musl-dev
# This will build all dependencies and store them in docker's cache.
# This way, it won't be necessary to recompile everything everytime
# OPENSSL_STATIC is required, see: https://users.rust-lang.org/t/sigsegv-with-program-linked-against-openssl-in-an-alpine-container/52172 and https://users.rust-lang.org/t/how-to-link-openssl-statically/14912
COPY backend/Cargo.toml .
COPY backend/Cargo.lock .
RUN echo '[[bin]]' >> Cargo.toml && \