Tips
+Misc tips
+Finding core files
+These are big and storage is expensive.
+find / -iname 'core.[0-9]*'
+Then delete them.
+ + +diff --git a/_quarto.yml b/_quarto.yml index 9427005..f76a81d 100644 --- a/_quarto.yml +++ b/_quarto.yml @@ -42,6 +42,8 @@ website: href: posts/Set-up-centos-security.Rmd - text: "Set-up authentication" href: posts/set-up-authentication.Rmd + - text: "Tips" + href: posts/tips.Rmd format: html: diff --git a/ci/VAST/Dockerfile b/ci/VAST/Dockerfile new file mode 100644 index 0000000..195626f --- /dev/null +++ b/ci/VAST/Dockerfile @@ -0,0 +1,19 @@ +# geospatial rocker +FROM openscapes/rocker:a7596b5 + +USER ${NB_USER} + +WORKDIR ${HOME} + +# fix security bug +# https://github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-w3vc-fx9p-wp4v +RUN pip install jupyter-server-proxy>=3.2.3 --no-deps + +# By default, the versioned rocker image (which openscapes/rocker uses) will use +# the Posit repository which has binaries for Unbuntu (which rocker image uses) + +# VAST dependencies packages +RUN R -e 'install.packages("INLA",repos=c(getOption("repos"),INLA="https://inla.r-inla-download.org/R/stable"), dep=TRUE)' +RUN R -e 'install.packages("TMB")' +RUN R -e 'devtools::install_github("james-thorson/FishStatsUtils@main", INSTALL_opts="--no-staged-install")' +RUN R -e 'devtools::install_github("james-thorson/VAST@main", INSTALL_opts="--no-staged-install")' diff --git a/ci/iopython-tf/Dockerfile b/ci/iopython-tf/Dockerfile index 4796de9..68d5cbe 100644 --- a/ci/iopython-tf/Dockerfile +++ b/ci/iopython-tf/Dockerfile @@ -1,4 +1,4 @@ -FROM openscapes/python:f577786 +FROM openscapes/python:0100a87 # install additional package... diff --git a/ci/iopython/Dockerfile b/ci/iopython/Dockerfile index 210b7bf..c1d2559 100644 --- a/ci/iopython/Dockerfile +++ b/ci/iopython/Dockerfile @@ -1,4 +1,4 @@ -FROM openscapes/python:f577786 +FROM openscapes/python:0100a87 # install additional package... diff --git a/ci/iopython/instructions.md b/ci/iopython/instructions.md index e0ac132..9730ea3 100644 --- a/ci/iopython/instructions.md +++ b/ci/iopython/instructions.md @@ -28,7 +28,7 @@ cd ci/iopython ``` 2. Update the docker tag to the date. ``` -DOCKER_TAG="20230901" +DOCKER_TAG="20240409" ``` 2. Build the image. `.` means current directory. `eeholmes/iopython` is the name of the repo on DockerHub. See notes below. ``` diff --git a/ci/iorocker/Dockerfile b/ci/iorocker/Dockerfile index aea5528..28f9f21 100644 --- a/ci/iorocker/Dockerfile +++ b/ci/iorocker/Dockerfile @@ -1,6 +1,7 @@ FROM openscapes/rocker:a7596b5 # tell RStudio the right path so it is in the conda environment -RUN echo "PATH=${PATH}" >>"${R_HOME}/etc/Renviron.site" +USER root +RUN echo "PATH=${PATH}" >> "${R_HOME}/etc/Renviron.site" # install additional package... @@ -8,6 +9,10 @@ USER ${NB_USER} WORKDIR ${HOME} +# fix security bug +# https://github.com/jupyterhub/jupyter-server-proxy/security/advisories/GHSA-w3vc-fx9p-wp4v +RUN pip install jupyter-server-proxy>=3.2.3 --no-deps + # By default, the versioned rocker image (which openscapes/rocker uses) will use # the Posit repository which has binaries for Unbuntu (which rocker image uses) diff --git a/ci/py-rocker-base/environment.yml b/ci/py-rocker-base/environment.yml index aa1d5da..c13fe1f 100644 --- a/ci/py-rocker-base/environment.yml +++ b/ci/py-rocker-base/environment.yml @@ -3,7 +3,7 @@ channels: - conda-forge dependencies: - python=3.10 - - jupyter-server-proxy + - jupyter-server-proxy>=4.1.1 - jupyterlab>4 - jupyterlab-myst - jupyterhub-singleuser diff --git a/docs/posts/JHub-User-Guide.html b/docs/posts/JHub-User-Guide.html index 7a41897..8d0ee59 100644 --- a/docs/posts/JHub-User-Guide.html +++ b/docs/posts/JHub-User-Guide.html @@ -159,6 +159,12 @@ + +
Misc tips
+These are big and storage is expensive.
+find / -iname 'core.[0-9]*'
+Then delete them.
+ + +