forked from ciesin-geospatial/TOPSTSCHOOL-water
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathDockerfile-ws
27 lines (22 loc) · 873 Bytes
/
Dockerfile-ws
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
# Get the rocker image we want
FROM rocker/binder:latest
# Add packages not part of rocker/geospatial
RUN Rscript -e "install.packages('cubelyr')"
RUN Rscript -e "install.packages('exactextractr')"
RUN Rscript -e "install.packages('basemaps')"
RUN Rscript -e "install.packages('shiny')"
RUN Rscript -e "install.packages('data.table')"
RUN Rscript -e "install.packages('kableExtra')"
RUN Rscript -e "install.packages('aws.s3')"
# copy the lesson contents into the image
## WSIM lessons
# ADD m101a-wsim-gldas-acquisition.qmd /home/rstudio/
# ADD m101b-wsim-gldas-vis.qmd /home/rstudio/
# ADD m101b-wsim-vis-python.qmd /home/rstudio
## MODIS NRT LESSON
# ADD m102-lance-modis-nrt-global-flood.qmd /home/rstudio
## Copy the shiny app
# ADD /m103-nyc-lead home/rstudio
## give the rstudio user permissions on these files
# RUN chown -R rstudio /home/rstudio/
CMD ["/init"]