Skip to content

Commit

Permalink
Updated Nim to 2.0.2 and Nimble to 0.14.2
Browse files Browse the repository at this point in the history
  • Loading branch information
frol committed Jan 7, 2024
1 parent ab47888 commit 0686afe
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
FROM frolvlad/alpine-gcc

RUN export NIM_VERSION=1.6.8 && \
export NIMBLE_VERSION=0.13.1 && \
RUN export NIM_VERSION=2.0.2 && \
export NIMBLE_VERSION=0.14.2 && \
\
apk add --no-cache libcrypto1.1 libssl1.1 && \
apk add --no-cache libcrypto3 libssl3 && \
apk add --no-cache --virtual=.build-dependencies wget ca-certificates git make && \
mkdir -p "/opt" && \
\
cd "/opt" && \
wget "https://github.com/nim-lang/Nim/archive/v$NIM_VERSION.tar.gz" -O - | tar xz && \
mv "./Nim-$NIM_VERSION" "./Nim" && \
cd "./Nim" && \
wget "https://github.com/nim-lang/csources_v1/archive/master.tar.gz" -O - | tar xz && \
mv "./csources_v1-master" "./csources" && \
wget "https://github.com/nim-lang/csources_v2/archive/master.tar.gz" -O - | tar xz && \
mv "./csources_v2-master" "./csources" && \
cd "./csources" && \
make -j && \
cd .. && \
Expand Down

0 comments on commit 0686afe

Please sign in to comment.