Skip to content

Commit

Permalink
updated docker and added gdal-bin
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhanson committed Mar 22, 2017
1 parent 408e39d commit 3673a54
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Dockerfile-base
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ COPY requirements.txt /build/requirements.txt
COPY requirements-dev.txt /build/requirements-dev.txt

RUN apt-get update; \
apt-get install -y python-setuptools python-numpy python-dev libgdal-dev python-gdal swig git g++; \
apt-get install -y python-setuptools python-numpy python-dev libgdal-dev python-gdal gdal-bin swig git g++; \
easy_install pip; pip install wheel;

RUN \
Expand Down
9 changes: 5 additions & 4 deletions docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ version: '2'

services:

base:
dev:
build:
context: .
dockerfile: Dockerfile-base
Expand All @@ -11,21 +11,22 @@ services:
volumes:
- '.:/work'

build:
latest:
build:
context: .
image: 'modispds:latest'
entrypoint: /bin/bash

test:
image: 'modispds:latest'
image: 'modispds:base'
entrypoint: bash -c 'nosetests --with-coverage --cover-package modispds --cover-inclusive --with-timer -v -s;'
working_dir: /work
volumes:
- '.:/work'

ingest:
image: 'modispds:latest'
entrypoint: 'python modispds/main.py'
entrypoint: 'modis-pds'
working_dir: /work
volumes:
- '.:/work'
Expand Down

0 comments on commit 3673a54

Please sign in to comment.