Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Feb 4, 2024
2 parents e738acf + be39184 commit aa1f225
Show file tree
Hide file tree
Showing 7 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .devcontainer/install.R
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
# We could use renv.lock approach here instead, but will force re-creation of environment from scratch
# Does not provide a good way to ensure that sf/terra/gdalcubes are installed from source while other packages can be binary

install.packages(c("rstac", "spData", "earthdatalogin", "quarto", "pak"))
install.packages(c("rstac", "spData", "earthdatalogin", "quarto", "pak", "decor"))
pak::pkg_install('github::r-tmap/tmap')

# vscode and jupyter plugins
Expand Down
1 change: 1 addition & 0 deletions .devcontainer/jupyter-requirements.txt
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ jupyterlab-git
jupyter-tensorboard-proxy
jupyter-resource-usage
jupyter-vscode-proxy
jupyter-rsession-proxy
jupyter-book
jupyterlab_myst
gh-scoped-creds
Expand Down
10 changes: 5 additions & 5 deletions .devcontainer/jupyterhub.Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## devcontainer-focused Rocker
# devcontainer-focused Rocker
FROM ghcr.io/rocker-org/devcontainer/tidyverse:4.3

## latest version of geospatial libs
Expand All @@ -19,19 +19,19 @@ RUN chown ${NB_USER}:staff -R ${R_HOME}/site-library
RUN git config --system pull.rebase false && \
git config --system credential.helper 'cache --timeout=36000'

## codeserver
RUN curl -fsSL https://code-server.dev/install.sh | sh
# codeserver
RUN curl -fsSL https://code-server.dev/install.sh | sh && rm -rf .cache

USER rstudio
WORKDIR /home/rstudio
RUN usermod -s /bin/bash rstudio
ENV PATH=$PATH:/home/rstudio/.local/bin

COPY jupyter-requirements.txt jupyter-requirements.txt
RUN python -m pip install -r jupyter-requirements.txt && rm jupyter-requirements.txt
RUN python -m pip install --no-cache-dir -r jupyter-requirements.txt && rm jupyter-requirements.txt

COPY nasa-requirements.txt requirements.txt
RUN python -m pip install -r requirements.txt && rm requirements.txt
RUN python -m pip install --no-cache-dir -r requirements.txt && rm requirements.txt

COPY install.R install.R
RUN Rscript install.R && rm install.R
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/test-build.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,4 +24,5 @@ jobs:

- name: Render
run: |
quarto render --no-cache
rm -rf _freeze
quarto render
6 changes: 2 additions & 4 deletions _quarto.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,17 +33,15 @@ website:
- text: JuypterHub
icon: cloud
href: https://openscapes.2i2c.cloud/
- section: Recipes
- section: Tutorials
contents:
- text: Introduction
icon: play-btn
href: contents/intro.qmd
- text: Biodiversity Priorities
icon: tree-fill
href: contents/ace.qmd
- text: NASA EarthData
icon: rocket
href: contents/earthdata.qmd
- section: Recipes
- section: Background
contents:
- text: Portable Environments
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit aa1f225

Please sign in to comment.