forked from adamkemberling/oisst_mainstays
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Dockerfile
49 lines (41 loc) · 1.44 KB
/
Dockerfile
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
42
43
44
45
46
47
### Dockerfile
# #### Miniconda Image - Testing ####
# # Testing connection to conda/miniconda for cron
# # builds off environment.yml file in main directory
# FROM continuumio/miniconda3
#
# # Create the oisst_mainstays environment:
# COPY environment.yml .
# RUN conda env create -f environment.yml
#
# # Make RUN commands use the new environment:
# SHELL ["conda", "run", "-n", "oisst_mainstays_env", "/bin/bash", "-c"]
#
# # Make sure the environment is activated:
# RUN echo "Make sure datetime and other dependencies are installed:"
# RUN python -c "import datetime"
#
# # The code to run when container is started:
# COPY conda_check.py .
# ENTRYPOINT ["conda", "run", "-n", "oisst_mainstays_env", "python", "conda_check.py"]
#### Docker Base Image for R-Shiny Environment ####
# # Disabling 12/1/2020 because it just adds unnecessary complexity
# # Build from roxygen/geospatial image
# FROM rocker/geospatial:3.6.1
# # Installing R Package Dependencies
# RUN install2.r --error \
# ggpmisc \
# janitor \
# here \
# lubridate \
# patchwork \
# plotly \
# noaaoceans \
# heatwaveR \
# devtools \
# kableExtra \
# knitr
# # Installation of non-CRAN packages
# RUN R -e "devtools::install_github('gulfofmaine/gmri', upgrade = 'never')"
# RUN R -e "devtools::install_github('ropensci/rnaturalearth', upgrade = 'never')"
# RUN R -e "devtools::install_github('ropensci/rnaturalearthhires', upgrade = 'never')"