Skip to content
Snippets Groups Projects
Select Git revision
  • 4c42cf99e66fc02568ba153c18fc4937155bb7b2
  • master default protected
2 results

.gitkeep

Blame
  • Dockerfile_base 1.16 KiB
    se node ----
    FROM opensuse/leap:latest AS base
    MAINTAINER Lukas Leufen <l.leufen@fz-juelich.de>
    
    # install git
    RUN zypper --non-interactive install git
    
    # install python3
    RUN zypper --non-interactive install python3 python3-devel
    
    # install pip
    RUN zypper --non-interactive install python3-pip
    
    # upgrade pip
    RUN pip install --upgrade pip
    
    # install curl
    RUN zypper --non-interactive install curl
    
    # install make
    RUN zypper --non-interactive install make
    
    # install gcc
    RUN zypper --non-interactive install gcc-c++
    
    # ---- test node ----
    FROM base AS test
    
    # install pytest
    RUN pip install pytest pytest-html pytest-lazy-fixture
    
    # ---- coverage node ----
    FROM test AS coverage
    
    # install pytest coverage
    RUN pip install pytest-cov
    
    
    # ---- docs node ----
    FROM base AS docs
    
    # install sphinx
    RUN pip install sphinx
    
    # ---- django version ----
    FROM base AS django
    
    # install django requirements
    RUN zypper --non-interactive install binutils libproj-devel gdal-devel
    
    # install cartopy
    RUN zypper --non-interactive install proj
    RUN pip install cython numpy==1.15.4 pyshp six pyproj shapely matplotlib pillow
    RUN zypper --non-interactive install geos-devel
    RUN pip install cartopy==0.16.0