mirror of
https://git.verdigado.com/NB-Public/simple-wkd.git
synced 2024-10-30 03:05:51 +01:00
Explain why openssl is static
This commit is contained in:
parent
85b2c707b8
commit
dd6e3c0f4a
1 changed files with 1 additions and 0 deletions
|
@ -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 will build all dependencies and store them in docker's cache.
|
||||||
# This way, it won't be necessary to recompile everything everytime
|
# 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.toml .
|
||||||
COPY backend/Cargo.lock .
|
COPY backend/Cargo.lock .
|
||||||
RUN echo '[[bin]]' >> Cargo.toml && \
|
RUN echo '[[bin]]' >> Cargo.toml && \
|
||||||
|
|
Loading…
Reference in a new issue