Last active
August 10, 2016 08:25
-
-
Save pfernique/ccb32e375eb7833541ae75d2011d2c17 to your computer and use it in GitHub Desktop.
Ubuntu trusty dockerfile with development tools for continuous integration
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 ubuntu:14.04 | |
# Update the OS | |
RUN apt-get update | |
# Install userful tools | |
RUN apt-get install -y build-essential git wget | |
# Add user for future work | |
RUN useradd -ms /bin/bash conda-user | |
# select created user | |
USER conda-user | |
# Install miniconda | |
RUN wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh -O $HOME/miniconda.sh | |
RUN bash $HOME/miniconda.sh -b -p $HOME/miniconda | |
RUN echo 'export PATH=$PATH:$HOME/miniconda/bin' >> $HOME/.bashrc | |
RUN $HOME/miniconda/bin/conda config --set always_yes yes --set changeps1 no | |
RUN $HOME/miniconda/bin/conda update -q conda | |
RUN $HOME/miniconda/bin/conda info -a | |
# Install conda-build | |
RUN $HOME/miniconda/bin/conda install conda-build=1.21.7 | |
RUN $HOME/miniconda/bin/pip install nose | |
RUN $HOME/miniconda/bin/pip install coverage | |
RUN $HOME/miniconda/bin/pip install coveralls | |
RUN $HOME/miniconda/bin/conda install anaconda-client |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment