Skip to content
Permalink
Browse files

#138 pin all Python required packages and Docker Python-Alpine version

  • Loading branch information...
justb4 committed Nov 6, 2018
1 parent ba38d0d commit 0b7cb752515382e78eb9d112499e33bf2fcb3c50
Showing with 14 additions and 15 deletions.
  1. +1 −1 Dockerfile
  2. +5 −11 docker/scripts/install.sh
  3. +5 −0 docker/scripts/requirements.txt
  4. +1 −1 requirements-dev.txt
  5. +2 −2 requirements.txt
@@ -1,4 +1,4 @@
FROM python:2.7.13-alpine
FROM python:2.7.15-alpine3.8

# Thanks to http://www.sandtable.com/reduce-docker-image-sizes-using-alpine
# FROM debian:jessie
@@ -5,18 +5,12 @@ virtualenv venv && cd /venv
. bin/activate

# GHC Source was added in Dockerfile, install
cd /GeoHealthCheck
pip install Paver
pip install sphinx

# For PostGIS support
pip install psycopg2

# For WSGI server
# NB we use async workers as some Probes may take a long time
# NB we use gunicorn/eventlet async workers as some Probes may take a long time
# e.g. fetching Metadata (Caps) and testing all layers
pip install -I eventlet
pip install -I gunicorn
# Install Python packages for installation and setup
pip install -I -r /GeoHealthCheck/docker/scripts/requirements.txt

cd /GeoHealthCheck

# Sets up GHC itself
paver setup
@@ -0,0 +1,5 @@
Paver==1.3.4
Sphinx==1.8.1
psycopg2==2.7.5
eventlet==0.24.1
gunicorn==19.9.0
@@ -1,3 +1,3 @@
flake8
Paver
Paver==1.3.4
pylint
@@ -4,8 +4,8 @@ Flask-Login==0.2.11
Flask-Migrate==2.0.3
Flask-Script==2.0.5
Flask-SQLAlchemy==2.1
OWSLib
Sphinx
OWSLib==0.17.0
Sphinx==1.8.1
requests>=2.20.0
WTForms==2.1
APScheduler==3.5.1

0 comments on commit 0b7cb75

Please sign in to comment.
You can’t perform that action at this time.