From 3cb6f910868d2e1abb0c20e1ad07943c7ebdf9fa Mon Sep 17 00:00:00 2001 From: baalajimaestro Date: Mon, 25 Apr 2022 10:33:18 +0530 Subject: [PATCH] Some more size optimizations Signed-off-by: baalajimaestro --- Dockerfile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Dockerfile b/Dockerfile index 2e45a0e..52dc58e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -8,6 +8,10 @@ WORKDIR /app # Build with necessary params to enable statically linking openssl, glibc and sqlite3 RUN nimble build --passL:-L/usr/lib \ -d:ssl \ + --os:any \ + -d:posix \ + -d:useMalloc \ + -d:noSignalHandler \ --cc:clang \ -p:. \ --dynlibOverride:ssl \