Skip to content

Commit

Permalink
🚧
Browse files Browse the repository at this point in the history
  • Loading branch information
cboettig committed Feb 6, 2025
1 parent e9a9029 commit 996d418
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 45 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/docker-gpu-image.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
name: GPU Image
name: CUDA Image
on:
workflow_dispatch: null
push:
paths:
- Dockerfile.cuda
- Dockerfile
- environment.yml
- install.r
jobs:
Expand Down
6 changes: 2 additions & 4 deletions .github/workflows/docker-image.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
name: GPU Image
name: ML Image
on:
workflow_dispatch: null
push:
paths:
- Dockerfile
- rl-env.yml
- spatial-env.yml
- jupyter-ai.yml
- environment.yml
- install.r
jobs:
build:
Expand Down
3 changes: 0 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,6 @@ RUN curl -s https://raw.githubusercontent.com/rocker-org/ml/refs/heads/master/in
## Add rstudio's binaries to path for quarto
ENV PATH=$PATH:/usr/lib/rstudio-server/bin/quarto/bin

## switch non-root users from BSPM to r-universe if no sudo
COPY Rprofile /usr/lib/R/etc/Rprofile.site

# When run as root, install.r automagically handles any necessary apt-gets
COPY install.r install.r
RUN Rscript install.r
Expand Down
35 changes: 0 additions & 35 deletions Dockerfile.cuda

This file was deleted.

4 changes: 3 additions & 1 deletion install_r.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,6 @@ ln -s /usr/lib/R/site-library/littler/examples/install2.r /usr/local/bin/install
# usermod -a -G staff ${NB_USER}
# echo "${NB_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers


## switch non-root users from BSPM to r-universe if no sudo
wget https://raw.githubusercontent.com/rocker-org/ml/refs/heads/master/Rprofile
mv Rprofile ${R_HOME}/etc/Rprofile.site

0 comments on commit 996d418

Please sign in to comment.