Created
September 16, 2021 08:30
-
-
Save muxueqz/410ca0715fb6884fa273db1cf1f92fea to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM ubuntu:latest | |
RUN : \ | |
&& apt-get update -y --quiet \ | |
&& apt-get install -y curl python3-pycurl wget python3-wget python3-pip gcc git \ | |
&& apt-get clean -y --quiet | |
RUN : \ | |
&& curl -o /tmp/nim.tar.xz https://nim-lang.org/download/nim-1.4.8-linux_x64.tar.xz \ | |
&& tar xvf /tmp/nim.tar.xz \ | |
&& mv -v nim-* /opt/ \ | |
&& ln -sfv /opt/nim-* /opt/nim \ | |
&& ln -sfv /opt/nim/bin/* /usr/bin/ | |
RUN : \ | |
&& apt-get update -y --quiet \ | |
&& apt-get install -y git | |
RUN rm -rf /var/lib/apt/lists/* /var/tmp/* /tmp/nimblecache/* /var/log/journal/* |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment