mirror of
https://github.com/logos-storage/logos-storage-network-testing.git
synced 2026-01-02 13:33:07 +00:00
Merge pull request #3 from Shorssaud/ADD-a-docker-image-for-codex
ADD previous work on dockerfile
This commit is contained in:
commit
ca67e21684
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