Created
February 1, 2019 13:14
-
-
Save callemo/23dc97147d56ff82b0f350d0a0a2a074 to your computer and use it in GitHub Desktop.
Cling environment
This file contains 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 debian:buster | |
ENV SHELL=/bin/bash | |
RUN apt-get update -y && apt-get install -y \ | |
bash-completion \ | |
build-essential \ | |
cmake \ | |
ctags \ | |
curl \ | |
git \ | |
git-extras \ | |
less \ | |
libreadline-dev \ | |
man-db \ | |
nodejs \ | |
npm \ | |
python3 \ | |
silversearcher-ag \ | |
sudo \ | |
tmux \ | |
vim-nox | |
ARG user=user | |
RUN adduser --disabled-password --gecos '' --uid 1000 $user \ | |
&& echo "$user ALL=(ALL) NOPASSWD:ALL" > "/etc/sudoers.d/$user" | |
USER $user | |
WORKDIR /home/$user | |
RUN curl -sS -o miniconda.sh \ | |
https://repo.anaconda.com/miniconda/Miniconda3-latest-Linux-x86_64.sh \ | |
&& /bin/sh miniconda.sh -b -p "/home/$user/.local/miniconda3" && rm ./miniconda.sh | |
ENV PATH="/home/$user/.local/miniconda3/bin:$PATH" | |
RUN conda install --quiet --yes --channel conda-forge \ | |
jupyterlab \ | |
matplotlib \ | |
numpy \ | |
pandas \ | |
scipy \ | |
seaborn \ | |
xeus-cling |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment