Align the deps properly

Signed-off-by: baalajimaestro <me@baalajimaestro.me>
This commit is contained in:
baalajimaestro 2022-04-25 12:19:15 +05:30
parent 16e6d2f724
commit 3ff60f8c18
Signed by: baalajimaestro
GPG key ID: F93C394FE9BBAFD5

View file

@ -1,6 +1,18 @@
FROM nimlang/nim:alpine as builder FROM nimlang/nim:alpine as builder
RUN apk update && apk add git build-base clang llvm llvm-dev lld curl bash openssl openssl-dev openssl-libs-static sqlite-dev sqlite-static RUN apk update && apk add git \
build-base \
clang \
llvm \
llvm-dev \
lld \
curl \
bash \
openssl \
openssl-dev \
openssl-libs-static \
sqlite-dev \
sqlite-static
COPY . /app COPY . /app
WORKDIR /app WORKDIR /app
@ -10,7 +22,7 @@ RUN nimble build --passL:-L/usr/lib \
-d:ssl \ -d:ssl \
--os:any \ --os:any \
-d:posix \ -d:posix \
--deepcopy:on \ --deepcopy:on \
-d:useMalloc \ -d:useMalloc \
-d:noSignalHandler \ -d:noSignalHandler \
--cc:clang \ --cc:clang \