Commit dd19aa4a authored by Daniel Scheffler's avatar Daniel Scheffler Committed by Daniel Scheffler
Browse files

Updated docker container setup and adjusted gitlab_ci.yml

parent 7a078761
Pipeline #1090 failed with stages
in 28 seconds
......@@ -22,6 +22,8 @@ test_geoarray:
- export GDAL_DATA=/root/anaconda3/share/gdal
- export PYTHONPATH=$PYTHONPATH:/root # /root <- directory needed later
- pip install rednose
- sudo yum install geos-devel libgeos-dev
- conda install --yes -c conda-forge numpy scikit-image matplotlib rasterio pyproj basemap shapely
- make nosetests
- make docs
artifacts:
......
FROM centos:7
RUN yum update -y && \
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git python-devel gdb
yum install -y wget vim bzip2 gcc gcc-c++ make libgl1-mesa-glx mesa-libGL qt5-qtbase-gui git python-devel gdb \
libgeos-dev geos-devel
ENV anaconda_dl 'Anaconda3-4.3.1-Linux-x86_64.sh'
RUN /bin/bash -i -c "cd /root; wget https://repo.continuum.io/archive/$anaconda_dl ; \
......@@ -14,8 +15,8 @@ RUN /bin/bash -i -c "source /root/anaconda3/bin/activate ; \
conda install --yes -c ioam bokeh ; \
conda install --yes -c conda-forge gdal ; \
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 pandas dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse \
conda install --yes -c conda-forge numpy scikit-image matplotlib rasterio pyproj basemap shapely; \
pip install geopandas pandas dicttoxml jsmin cerberus pyprind pint iso8601 tqdm mpld3 sphinx-argparse \
folium geojson py_tools_ds nose nose2 nose-htmloutput coverage rednose"
# copy some needed stuff to /root
......
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