Some more size optimizations

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-25 10:33:18 +05:30
parent 37c7687784
commit 3cb6f91086
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -8,6 +8,10 @@ WORKDIR /app
# Build with necessary params to enable statically linking openssl, glibc and sqlite3 # Build with necessary params to enable statically linking openssl, glibc and sqlite3
RUN nimble build --passL:-L/usr/lib \ RUN nimble build --passL:-L/usr/lib \
-d:ssl \ -d:ssl \
--os:any \
-d:posix \
-d:useMalloc \
-d:noSignalHandler \
--cc:clang \ --cc:clang \
-p:. \ -p:. \
--dynlibOverride:ssl \ --dynlibOverride:ssl \