Skip to content

Commit e17c5c7

Browse files
chore: Docker file install nim compiler 2 2 4
1 parent 0d31b9e commit e17c5c7

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

Dockerfile

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,19 @@ RUN apt-get update \
1010
&& apt-get clean \
1111
&& rm -rf /var/lib/apt/lists/*
1212

13+
# ---------------------------------------------------------
14+
# Install Nim 2.2.4
15+
# ---------------------------------------------------------
16+
ENV NIM_VERSION=2.2.4
17+
ENV PATH=/root/.nimble/bin:$PATH
18+
19+
RUN curl https://nim-lang.org/choosenim/init.sh -sSf -o init.sh && \
20+
bash init.sh -y && \
21+
rm init.sh && \
22+
choosenim $NIM_VERSION && \
23+
nim --version
24+
# ---------------------------------------------------------
25+
1326
ARG build_tags='gowaku_no_rln'
1427
ARG build_flags=''
1528
ARG build_target='cmd'

0 commit comments

Comments
 (0)