Dockerfile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344
  1. FROM debian:bullseye
  2. RUN apt-get update \
  3. && apt-get install --yes --no-install-recommends \
  4. jupyter-notebook \
  5. r-cran-irkernel \
  6. `# https://github.com/rOpenGov/eurostat/blob/master/DESCRIPTION` \
  7. r-cran-broom \
  8. r-cran-classint \
  9. r-cran-dplyr \
  10. r-cran-httr \
  11. r-cran-jsonlite \
  12. r-cran-rcolorbrewer \
  13. r-cran-readr \
  14. r-cran-sf \
  15. r-cran-sp \
  16. r-cran-stringi \
  17. r-cran-stringr \
  18. r-cran-tibble \
  19. r-cran-tidyr \
  20. `# https://cran.r-project.org/web/packages/RefManageR/index.html ` \
  21. r-cran-bibtex \
  22. r-cran-lubridate \
  23. r-cran-xml2
  24. # TODO merge
  25. RUN apt-get update \
  26. && apt-get install --yes --no-install-recommends \
  27. curl \
  28. python3-geopandas \
  29. python3-xlrd \
  30. unzip
  31. RUN apt-get update \
  32. && apt-get install --yes --no-install-recommends \
  33. python3-distutils `# pyproj`
  34. RUN useradd --create-home --groups staff notebook
  35. USER notebook
  36. RUN Rscript -e 'install.packages("eurostat")'
  37. VOLUME /home/notebook
  38. WORKDIR /home/notebook
  39. CMD ["jupyter", "notebook", "--ip=0.0.0.0"]