Dockerfile 681 B

1234567891011121314151617181920212223242526272829303132
  1. FROM ubuntu:16.04
  2. # http://www.pymodis.org/ docker image
  3. MAINTAINER Luca Delucchi
  4. # system environment
  5. ENV DEBIAN_FRONTEND noninteractive
  6. #### ENV CPLUS_INCLUDE_PATH=/usr/include/gdal \
  7. #### C_INCLUDE_PATH=/usr/include/gdal
  8. # ?? && apt-get install -y --install-recommends \
  9. # fetch dependencies
  10. RUN apt-get update \
  11. && apt-get install -y \
  12. gdal-bin \
  13. python3-numpy \
  14. python3 \
  15. python3-gdal \
  16. ipython3 \
  17. python3-pip \
  18. python3-future \
  19. python3-requests
  20. # && apt-get autoremove \
  21. # && apt-get clean
  22. # Install pyModis
  23. #####? RUN pip install GDAL==$(gdal-config --version | awk -F'[.]' '{print $1"."$2}')
  24. RUN pip3 install pyModis