mirror of
https://github.com/logos-storage/nim-lang-docker.git
synced 2026-01-03 06:03:11 +00:00
feat: simplify dockerfile
This commit is contained in:
parent
2f22c8185e
commit
e5123e7a46
@ -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}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user