Skip to content

Commit

Permalink
docker image
Browse files Browse the repository at this point in the history
  • Loading branch information
mmann1123 committed May 24, 2022
1 parent 717b139 commit 40eb6a0
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions docker_files/build_pygis
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@

FROM ubuntu:20.04
USER root

RUN apt update -y && apt upgrade -y && \
apt install -y software-properties-common && \
add-apt-repository ppa:ubuntugis/ppa && \
apt update -y && apt install -y \
gdal-bin=3.3.2+dfsg-2~focal2 \
geotiff-bin=1.7.0-2~focal0 \
git=1:2.25.1-1ubuntu3.4 \
libgdal-dev=3.3.2+dfsg-2~focal2 \
libgl1=1.3.2-1~ubuntu0.20.04.2 \
libspatialindex-dev=1.9.3-1build1 \
wget=1.20.3-1ubuntu2 \
python-is-python3=3.8.2-4 \
pip \
g++=4:9.3.0-1ubuntu2 \
locales=2.31-0ubuntu9.7

RUN pip install --upgrade pip
RUN pip install Cython numpy
RUN pip install git+https://github.com/jgrss/geowombat
RUN pip install sklearn-xarray pip-tools rtree ipykernel sphinx graphviz numpydoc sphinx_automodapi jaxlib jax jupyter-book sphinx_sitemap

# sphinxcontrib.bibtex==1.0

RUN pip install --upgrade git+https://github.com/jgrss/geowombat && \
git clone https://github.com/mmann1123/pyGIS.git
# EXPOSE 5000
CMD cd pyGIS && jupyter-book toc migrate /pyGIS/pygis/_toc.yml -o /pyGIS/pygis/_toc.yml && jupyter-book build pygis && \
git checkout -b testdocs && git add . && git -c user.name="mmann1123" -c user.email=mmann1123@gmail.com commit -m "test docs" \
&& git push --set-upstream origin testdocs && bash
# potential webserver https://medium.com/warp9/deploying-a-static-website-in-a-docker-container-f6b7d8eed15f


0 comments on commit 40eb6a0

Please sign in to comment.