Skip to content

Instantly share code, notes, and snippets.

@Galadirith
Created January 11, 2017 15:24
Show Gist options
  • Save Galadirith/7c58a4cf4c6c1c7226dba50f5763d494 to your computer and use it in GitHub Desktop.
Save Galadirith/7c58a4cf4c6c1c7226dba50f5763d494 to your computer and use it in GitHub Desktop.
# Setup Python test environment
FROM debian:jessie
# Trust maintainer of lscsoft-archive-keyring package
RUN gpg --keyserver keys.gnupg.net --recv-keys CE050D236DB6FA3F \
&& gpg -a --export CE050D236DB6FA3F | apt-key add -
# TDD LSCSoft Debian Jessie archive and install Python packages
RUN echo deb http://software.ligo.org/lscsoft/debian jessie contrib >> /etc/apt/sources.list \
&& apt-get -yqq update \
&& apt-get -yqq install lscsoft-archive-keyring \
&& apt-get -yqq update \
&& apt-get -yqq install \
wget \
pkg-config \
python \
python-dev \
python-pip \
python-numpy \
python-scipy \
python-matplotlib \
python-h5py \
python-pytest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment