Dockerfile 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  1. FROM debian:bullseye
  2. RUN apt-get update \
  3. && apt-get install --yes --no-install-recommends \
  4. curl \
  5. jupyter-notebook \
  6. python3-distutils `# pyproj` \
  7. python3-geopandas \
  8. python3-xlrd \
  9. r-cran-irkernel \
  10. unzip \
  11. `# https://github.com/ResidentMario/geoplot/blob/master/setup.py` \
  12. python3-cartopy \
  13. python3-descartes \
  14. python3-matplotlib \
  15. python3-pip \
  16. python3-seaborn \
  17. python3-setuptools \
  18. python3-wheel \
  19. `# mapclassify->geoplot` \
  20. python3-deprecated \
  21. `# contextily->geoplot` \
  22. python3-geopy \
  23. python3-joblib \
  24. python3-pillow \
  25. python3-rasterio \
  26. python3-requests \
  27. `# https://github.com/rOpenGov/eurostat/blob/master/DESCRIPTION` \
  28. r-cran-broom \
  29. r-cran-classint \
  30. r-cran-dplyr \
  31. r-cran-httr \
  32. r-cran-jsonlite \
  33. r-cran-rcolorbrewer \
  34. r-cran-readr \
  35. r-cran-sf \
  36. r-cran-sp \
  37. r-cran-stringi \
  38. r-cran-stringr \
  39. r-cran-tibble \
  40. r-cran-tidyr \
  41. `# https://cran.r-project.org/web/packages/RefManageR/index.html ` \
  42. r-cran-bibtex \
  43. r-cran-lubridate \
  44. r-cran-xml2
  45. RUN chgrp staff /usr/local/bin `# meranctile` \
  46. && chmod g+ws /usr/local/bin \
  47. && useradd --create-home --groups staff notebook
  48. USER notebook
  49. RUN pip3 install --system geoplot
  50. RUN Rscript -e 'install.packages("eurostat")'
  51. VOLUME /home/notebook
  52. WORKDIR /home/notebook
  53. CMD ["jupyter", "notebook", "--ip=0.0.0.0"]