Skip to content

Instantly share code, notes, and snippets.

@robintw
Created July 2, 2016 09:04
Show Gist options
  • Save robintw/3aebc953cd168c2aa5de8ce57ea2e017 to your computer and use it in GitHub Desktop.
Save robintw/3aebc953cd168c2aa5de8ce57ea2e017 to your computer and use it in GitHub Desktop.
Dockerfile based on conda
# This Dockerfile builds a container
# (describe ..)
FROM continuumio/miniconda3
MAINTAINER Sam Murphy <[email protected]>
RUN conda install numpy scipy matplotlib pandas
RUN apt-get update && apt-get install -y \
gfortran \
wget \
&& rm -rf /var/lib/apt/lists/*
# install python packages
RUN pip install Py6S
# download and install the 6S executable
RUN wget https://www.dropbox.com/s/48bhztqqepbpci1/6S_JustExecutable.targz
RUN tar -xvf 6S_JustExecutable.targz -C /usr/bin
RUN rm -f 6S_JustExecutable.targz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment