-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathDockerfile.BASE
More file actions
executable file
·41 lines (37 loc) · 1.35 KB
/
Dockerfile.BASE
File metadata and controls
executable file
·41 lines (37 loc) · 1.35 KB
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
FROM rocker/shiny:latest
LABEL org.opencontainers.image.documentation="Oct 08, 2022"
LABEL org.opencontainers.image.authors="Bayes Cluster Maintenance Group"
LABEL org.opencontainers.artifact.description="Bayes Cluster Base Image - MESOCP Dockerfile"
LABEL org.opencontainers.image.source https://github.com/Bayes-Cluster/MESOCP
LABEL org.opencontainers.image.documentation="https://github.com/Bayes-Cluster/MESOCP"
LABEL org.opencontainers.image.version="0.0.1"
# By default, we are using SUSTech mirrors
RUN sed -i s@/archive.ubuntu.com/@/mirrors.sustech.edu.cn/@g /etc/apt/sources.list
RUN sed -i s@/security.ubuntu.com/@/mirrors.sustech.edu.cn/@g /etc/apt/sources.list
RUN apt-get update && apt-get install -y \
libcurl4-gnutls-dev \
libssl-dev \
libgdal-dev \
libproj-dev \
libgeos-dev \
libudunits2-dev \
netcdf-bin
RUN R -e 'install.packages(c(\
"shiny", \
"shinydashboard", \
"ggplot2", \
"knitr", \
"bslib", \
"plotly", \
"leaflet", \
"lubridate", \
"scales", \
"rgeos", \
"tidyr", \
"DT", \
"dplyr", \
"shinydisconnect", \
"alabama" \
), dep=TRUE,\
repos="http://mirrors.sustech.edu.cn/CRAN/"\
)'