mirror of
https://github.com/logos-storage/logos-storage-network-testing.git
synced 2026-01-03 05:53:09 +00:00
19 lines
373 B
Docker
19 lines
373 B
Docker
|
|
FROM nimlang/nim as builder
|
||
|
|
|
||
|
|
RUN apt update -qq && \
|
||
|
|
DEBIAN_FRONTEND="noninteractive" apt install -yq cmake curl make
|
||
|
|
|
||
|
|
FROM builder
|
||
|
|
ARG corecount=1
|
||
|
|
COPY nim-codex .
|
||
|
|
|
||
|
|
# TODO add a processor count variable argument
|
||
|
|
# RUN make -j6 update
|
||
|
|
# RUN make -j6 USE_SYSTEM_NIM=1 exec
|
||
|
|
|
||
|
|
RUN make -j${corecount} update
|
||
|
|
|
||
|
|
RUN make -j${corecount} USE_SYSTEM_NIM=1 exec
|
||
|
|
|
||
|
|
ENTRYPOINT ["."]
|