feat: simplify dockerfile

This commit is contained in:
Slava 2025-02-26 11:50:08 +02:00
parent 2f22c8185e
commit e5123e7a46
No known key found for this signature in database
GPG Key ID: 351E7AA9BD0DFEB8

View File

@ -9,11 +9,6 @@ ARG HOME
WORKDIR ${HOME}
RUN apt-get update && \
apt-get install -y curl git gcc make && rm -rf /var/lib/apt/lists/* && \
curl https://raw.githubusercontent.com/emizzle/nimv/refs/heads/master/nimv.sh | bash -s "${NIM_VERSION}" && \
rm -rf "${HOME}/.nimv/${NIM_VERSION}/Nim/.git" && \
rm -rf "${HOME}/.nimv/${NIM_VERSION}/Nim/dist" && \
rm -rf "${HOME}/.nimv/${NIM_VERSION}/Nim/tests" && \
rm -rf "${HOME}/.nimv/${NIM_VERSION}/Nim/nimcache" && \
rm -rf "${HOME}/.nimv/${NIM_VERSION}/Nim/csources_v2"
curl https://raw.githubusercontent.com/emizzle/nimv/refs/heads/master/nimv.sh | bash -s "${NIM_VERSION}"
ENV PATH=${HOME}/.nimble/bin:${PATH}