Created
November 27, 2018 13:08
-
-
Save adriantre/b4efc38340f1ada9fc95681eec056662 to your computer and use it in GitHub Desktop.
Dockerfile for spatial data analysis and tensorflow
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Build from existing tensorflow notebook | |
# https://github.com/jupyter/docker-stacks | |
FROM jupyter/tensorflow-notebook:latest | |
USER $NB_UID | |
# Install gdal (geospatial operations) | |
RUN conda install --quiet --yes \ | |
'conda-forge::libgdal=2.2*' | |
# Use .env file to store credentials (passwords and stuff) | |
# https://github.com/theskumar/python-dotenv#ipython-support | |
RUN conda install --quiet --yes \ | |
-c conda-forge python-dotenv | |
# Geopandas dataframe could come in handy | |
# http://geopandas.org/gallery/plotting_basemap_background.html#sphx-glr-gallery-plotting-basemap-background-py | |
RUN conda install --quiet --yes \ | |
-c conda-forge geopandas | |
# Install other packages as needed | |
# Install other packages as needed | |
USER $NB_UID |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment