Skip to content

Commit

Permalink
feat 28624 (#234)
Browse files Browse the repository at this point in the history
* feat: install PhysOcean

See https://support.d4science.org/issues/28680

* Restore file

* Install R packages

See https://support.d4science.org/issues/28624
  • Loading branch information
enolfc authored Jan 28, 2025
1 parent 30d31a2 commit 25371cb
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
3 changes: 2 additions & 1 deletion single-user-d4science/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@ RUN julia --eval 'using Pkg; Pkg.pin("IJulia")' \
&& julia --eval 'using Pkg; Pkg.add(url="https://github.com/gher-ulg/DIVAndNN.jl")' \
&& julia --eval 'using Pkg; Pkg.add(name="DIVAnd", version="2.7.9")' \
&& julia --eval 'using Pkg; Pkg.add(["JSON", "PyCall", "PyPlot", "Glob", "DataStructures", "NCDatasets"])' \
&& julia --eval 'using Pkg; Pkg.add(url="https://github.com/Alexander-Barth/CoastalCurrents.jl")'
&& julia --eval 'using Pkg; Pkg.add(url="https://github.com/Alexander-Barth/CoastalCurrents.jl")' \
&& julia --eval 'using Pkg; Pkg.add("PhysOcean")'

# -------------------------------
# JupyterLab extensions
Expand Down
19 changes: 19 additions & 0 deletions single-user-r-d4science/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,22 @@ RUN Rscript -e "remotes::install_github('eblondel/geoflow', \

RUN Rscript -e "install.packages(\
c('geometa', \
'ggplot2', \
'xts', \
'reshape2', \
'lubridate', \
'stats', \
'plyr', \
'dplyr', \
'RColorBrewer', \
'viridis', \
'parallel', \
'doParallel', \
'foreach', \
'knitr', \
'remotes', \
'mgcv', \
'seacarb', \
'ows4R', \
'geonapi', \
'geosapi', \
Expand All @@ -76,6 +92,9 @@ RUN Rscript -e "install.packages(\
'solrad'), \
repos = c('http://cran.r-project.org'))"

RUN Rscript -e "remotes::install_github('lifewatch/lwdataexplorer', \
dependencies = c('Depends', 'Imports'))"

RUN pip install --no-cache-dir \
import_ipynb \
nbresuse \
Expand Down

0 comments on commit 25371cb

Please sign in to comment.