mirror of
https://github.com/logos-storage/logos-storage-network-testing.git
synced 2026-01-04 06:23:07 +00:00
ADD previous work on dockerfile
This commit is contained in:
parent
3dc2dd4e65
commit
9b4e27024c
18
Dockerfile
Normal file
18
Dockerfile
Normal file
@ -0,0 +1,18 @@
|
|||||||
|
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 ["."]
|
||||||
Loading…
x
Reference in New Issue
Block a user