Commit 73b7b429 authored by Daniel Scheffler's avatar Daniel Scheffler
Browse files

Updated docker setup.

parent edc2a676
Pipeline #695 failed with stages
in 4 minutes and 46 seconds
......@@ -2,8 +2,8 @@
echo "#### Build runner docker image"
sudo docker rmi ${tag}
FROM centos:7
# matplotlib requires freetype, freetype-devel, libpng-devel under centos
# scikit-image requires blas-devel lapack-devel under centos
RUN yum update -y && \
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git freetype \
freetype-devel libpng-devel
freetype-devel libpng-devel blas-devel lapack-devel
ENV anaconda_dl ''
RUN /bin/bash -i -c "cd /root; wget$anaconda_dl ; \
......@@ -12,7 +13,7 @@ RUN /bin/bash -i -c "cd /root; wget$anaconda_
# 'conda install --yes -c conda-forge 'icu=58.*' lxml' fixing a bug for conda-forge gdal build, as of 06/2017
# holoviews and bokeh is only needed for geoarray because its not installable via pip during
RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \
conda install --yes pyqt coverage ; \
conda install --yes pyqt ; \
conda install --yes -c conda-forge gdal ; \
conda install --yes -c conda-forge pyfftw=0.10.4 ; \
conda install --yes -c ioam holoviews=1.8.0 ; \
......@@ -20,7 +21,7 @@ RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \
conda install --yes -c conda-forge 'icu=58.*' lxml ; \
conda install --yes -c conda-forge glymur pygrib rasterio pyproj cachetools basemap; \
pip install shapely geopandas dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse spectral \
geoarray py_tools_ds plotly" # must include all the requirements needed to build the docs!
geoarray py_tools_ds plotly flake8 pycodestyle pylint pydocstyle nose nose2 nose-htmloutput coverage rednose" # must include all the requirements needed to build the docs!
# copy some needed stuff to /root
#COPY *.pkl /root/ # EXAMPLE
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment