Skip to content

Instantly share code, notes, and snippets.

@jacqueswww
Last active August 23, 2019 15:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jacqueswww/e1b2f35bb7749bd03babd6161a81dabc to your computer and use it in GitHub Desktop.
Save jacqueswww/e1b2f35bb7749bd03babd6161a81dabc to your computer and use it in GitHub Desktop.
nimplay Dockerfile
FROM ubuntu:18.04
RUN apt-get update && \
apt-get install -y software-properties-common wget curl gcc && \
wget https://nim-lang.org/download/nim-0.20.2-linux_x64.tar.xz && \
tar xf nim-0.20.2-linux_x64.tar.xz && \
cd nim-0.20.2 && \
./install.sh /usr/bin && \
cd .. && \
rm -rf nim-0.20.2 && \
wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key | apt-key add - && \
apt-add-repository "deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic main" && \
apt-get install -y clang-8 && \
update-alternatives --install /usr/bin/clang clang /usr/bin/clang-8 1000 && \
apt-get remove -y curl wget gcc software-properties-common && \
apt-get auto-remove -y && \
rm -rf /var/lib/apt/lists/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment