1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- FROM debian:bullseye
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- jupyter-notebook \
- r-cran-irkernel \
- `# https://github.com/rOpenGov/eurostat/blob/master/DESCRIPTION` \
- r-cran-broom \
- r-cran-classint \
- r-cran-dplyr \
- r-cran-httr \
- r-cran-jsonlite \
- r-cran-rcolorbrewer \
- r-cran-readr \
- r-cran-sf \
- r-cran-sp \
- r-cran-stringi \
- r-cran-stringr \
- r-cran-tibble \
- r-cran-tidyr \
- `# https://cran.r-project.org/web/packages/RefManageR/index.html ` \
- r-cran-bibtex \
- r-cran-lubridate \
- r-cran-xml2
- # TODO merge
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- curl \
- python3-geopandas \
- python3-xlrd \
- unzip
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- python3-distutils `# pyproj`
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- `# https://github.com/ResidentMario/geoplot/blob/master/setup.py` \
- python3-cartopy \
- python3-descartes \
- python3-matplotlib \
- python3-pip \
- python3-seaborn \
- python3-setuptools
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- `# https://github.com/ResidentMario/geoplot/blob/master/setup.py` \
- python3-wheel
- RUN apt-get update \
- && apt-get install --yes --no-install-recommends \
- `# mapclassify->geoplot` \
- python3-deprecated \
- `# contextily->geoplot` \
- python3-geopy \
- python3-joblib \
- python3-pillow \
- python3-rasterio \
- python3-requests
- RUN chgrp staff /usr/local/bin `# meranctile` \
- && chmod g+ws /usr/local/bin \
- && useradd --create-home --groups staff notebook
- USER notebook
- RUN pip3 install --system geoplot
- RUN Rscript -e 'install.packages("eurostat")'
- VOLUME /home/notebook
- WORKDIR /home/notebook
- CMD ["jupyter", "notebook", "--ip=0.0.0.0"]
|