Created
July 2, 2016 08:41
-
-
Save robintw/ffdbaedebd77a9469ba97dafff22b51d to your computer and use it in GitHub Desktop.
Dockerfile to build Py6S container using apt-get to install dependencies
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
# This Dockerfile builds a container | |
# (describe ..) | |
FROM ubuntu:14.04 | |
MAINTAINER Sam Murphy <[email protected]> | |
ENV Python_version 3.4.3 | |
RUN apt-get update && apt-get install -y \ | |
gfortran \ | |
wget \ | |
python3-matplotlib \ | |
python3-scipy \ | |
&& rm -rf /var/lib/apt/lists/* | |
# install pip | |
RUN wget https://bootstrap.pypa.io/get-pip.py | |
RUN python3 get-pip.py | |
RUN rm -f get-pip.py | |
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment