mirror of
https://github.com/codex-storage/nim-codex.git
synced 2025-01-09 20:45:38 +00:00
16 lines
391 B
Docker
16 lines
391 B
Docker
FROM nimlang/nim as builder
|
|
|
|
RUN apt update -qq && \
|
|
DEBIAN_FRONTEND="noninteractive" apt install -yq cmake curl make
|
|
|
|
FROM builder
|
|
|
|
COPY . .
|
|
|
|
RUN cd /extra/scratch/nim-codex && make USE_SYSTEM_NIM=1 V=1 update
|
|
|
|
RUN cd /extra/scratch/nim-codex && \
|
|
make TESTGROUND_PLAN=hello_codex USE_SYSTEM_NIM=1 V=1 testground_exec
|
|
|
|
ENTRYPOINT ["/extra/scratch/nim-codex/build/codex_testground"]
|