Skip to content

Commit

Permalink
add tips and some other env files
Browse files Browse the repository at this point in the history
  • Loading branch information
eeholmes committed Jun 1, 2024
1 parent 96b2d83 commit 72de23a
Show file tree
Hide file tree
Showing 21 changed files with 1,344 additions and 435 deletions.
2 changes: 2 additions & 0 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
19 changes: 19 additions & 0 deletions ci/VAST/Dockerfile
Original file line number Diff line number Diff line change
@@ -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")'
2 changes: 1 addition & 1 deletion ci/iopython-tf/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openscapes/python:f577786
FROM openscapes/python:0100a87

# install additional package...

Expand Down
2 changes: 1 addition & 1 deletion ci/iopython/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
FROM openscapes/python:f577786
FROM openscapes/python:0100a87

# install additional package...

Expand Down
2 changes: 1 addition & 1 deletion ci/iopython/instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
```
Expand Down
7 changes: 6 additions & 1 deletion ci/iorocker/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,13 +1,18 @@
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...

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)

Expand Down
2 changes: 1 addition & 1 deletion ci/py-rocker-base/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/JHub-User-Guide.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/Set-up-centos-security.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/Set-up-centos-tljh.html
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/Set-up-centos.html
Original file line number Diff line number Diff line change
Expand Up @@ -193,6 +193,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/Set-up-daskhub.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/Setup-Notes.html
Original file line number Diff line number Diff line change
Expand Up @@ -156,6 +156,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
10 changes: 10 additions & 0 deletions docs/posts/set-up-authentication.html
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@
<script src="../site_libs/quarto-search/fuse.min.js"></script>
<script src="../site_libs/quarto-search/quarto-search.js"></script>
<meta name="quarto:offset" content="../">
<link href="../posts/tips.html" rel="next">
<link href="../posts/Set-up-centos-security.html" rel="prev">
<link href="../images/nmfs-opensci-logo2-notext.png" rel="icon" type="image/png">
<script src="../site_libs/quarto-html/quarto.js"></script>
Expand Down Expand Up @@ -158,6 +159,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link active">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down Expand Up @@ -821,6 +828,9 @@ <h3 class="anchored" data-anchor-id="if-you-use-daskhub-helm-chart">If you use d
</a>
</div>
<div class="nav-page nav-page-next">
<a href="../posts/tips.html" class="pagination-link" aria-label="Tips">
<span class="nav-page-text">Tips</span> <i class="bi bi-arrow-right-short"></i>
</a>
</div>
</nav>
</div> <!-- /content -->
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/set-up-jh-aws.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/set-up-jh-gcp.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
6 changes: 6 additions & 0 deletions docs/posts/set-up-vm.html
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@
<a href="../posts/set-up-authentication.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Set-up authentication</span></a>
</div>
</li>
<li class="sidebar-item">
<div class="sidebar-item-container">
<a href="../posts/tips.html" class="sidebar-item-text sidebar-link">
<span class="menu-text">Tips</span></a>
</div>
</li>
</ul>
</div>
Expand Down
Loading

0 comments on commit 72de23a

Please sign in to comment.