-
Notifications
You must be signed in to change notification settings - Fork 28
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
36 additions
and
0 deletions.
There are no files selected for viewing
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
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 | ||
|
||
|