Skip to content

Commit e790080

Browse files
committed
here we go
1 parent 5991b5f commit e790080

30 files changed

+8
-1115
lines changed

.github/workflows/docker-rstudio.yml

Lines changed: 0 additions & 34 deletions
This file was deleted.

images/Dockerfile

Lines changed: 1 addition & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,42 +1,2 @@
1-
FROM quay.io/jupyter/minimal-notebook:ubuntu-24.04
2-
3-
# Make code-server extensions etc persist to container, not hub
4-
ENV XDG_DATA_HOME=/opt/share
5-
6-
# Python environment
7-
COPY jupyter-ai.yml environment.yml
8-
RUN conda update -n base -c conda-forge conda && \
9-
conda env update --file environment.yml
10-
11-
USER root
12-
13-
# code-server (VSCode)
14-
RUN curl -fsSL https://code-server.dev/install.sh | sh && rm -rf .cache
15-
16-
COPY install-utilities.sh install-utilities.sh
17-
RUN bash install-utilities.sh && rm install-utilities.sh
18-
19-
# R & RStudio
20-
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_r.sh | bash
21-
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_rstudio.sh | bash
22-
23-
## Add rstudio's binaries to path for quarto
24-
ENV PATH=$PATH:/usr/lib/rstudio-server/bin/quarto/bin
25-
26-
# When run as root, install.r automagically handles any necessary apt-gets
27-
COPY install.r install.r
28-
RUN Rscript install.r
29-
## switch from BSPM to r-universe for user default, only after BSPM does install.r!
30-
COPY Rprofile /usr/lib/R/etc/Rprofile.site
31-
32-
USER ${NB_USER}
33-
34-
RUN echo "ms-python.python ms-toolsai.jupyter quarto.quarto continue.continue ms-vscode.live-server posit.shiny reditorsupport.r alefragnani.project-manager" | xargs -n 1 code-server --install-extension
35-
36-
COPY spatial-env.yml spatial-env.yml
37-
RUN conda update -n base -c conda-forge conda && \
38-
conda env update --file spatial-env.yml
39-
# GDAL env var for vsi
40-
ENV CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE=YES
41-
1+
FROM ghcr.io/rocker-org/ml-spatial
422

images/Dockerfile.R

Lines changed: 0 additions & 12 deletions
This file was deleted.

images/Dockerfile.gpu

Lines changed: 1 addition & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -1,45 +1,7 @@
1-
FROM quay.io/jupyter/pytorch-notebook:cuda12-ubuntu-24.04
2-
3-
# Make code-server extensions etc persist to container, not hub
4-
ENV XDG_DATA_HOME=/opt/share
5-
6-
COPY jupyter-ai.yml environment.yml
7-
RUN conda update --all --solver=classic -n base -c conda-forge conda && \
8-
conda env update --file environment.yml
9-
10-
USER root
11-
12-
# code-server (VSCode)
13-
RUN curl -fsSL https://code-server.dev/install.sh | sh && rm -rf .cache
14-
15-
COPY install-utilities.sh install-utilities.sh
16-
RUN bash install-utilities.sh && rm install-utilities.sh
17-
18-
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_r.sh | bash
19-
RUN curl -s https://raw.githubusercontent.com/boettiger-lab/repo2docker-r/refs/heads/main/install_rstudio.sh | bash
20-
## Add rstudio's binaries to path for quarto
21-
ENV PATH=$PATH:/usr/lib/rstudio-server/bin/quarto/bin
22-
23-
24-
# When run as root, install.r automagically handles any necessary apt-gets
25-
COPY install.r install.r
26-
RUN Rscript install.r
27-
28-
## switch from BSPM to r-universe for user default
29-
COPY Rprofile /usr/lib/R/etc/Rprofile.site
30-
31-
USER ${NB_USER}
32-
33-
RUN echo "ms-python.python ms-toolsai.jupyter quarto.quarto continue.continue ms-vscode.live-server posit.shiny reditorsupport.r alefragnani.project-manager" | xargs -n 1 code-server --install-extension
34-
35-
COPY spatial-env.yml spatial-env.yml
36-
RUN conda update -n base -c conda-forge conda && \
37-
conda env update --file spatial-env.yml
1+
FROM ghcr.io/rocker-org/cuda-spatial
382

393
COPY rl-env.yml rl-env.yml
404
RUN conda update -n base -c conda-forge conda && \
415
conda env update --file rl-env.yml
426

43-
# GDAL env var for vsi
44-
ENV CPL_VSIL_USE_TEMP_FILE_FOR_RANDOM_WRITE=YES
457

images/Rprofile

Lines changed: 0 additions & 31 deletions
This file was deleted.

images/deprecated/Dockerfile.dual

Lines changed: 0 additions & 57 deletions
This file was deleted.

images/deprecated/Dockerfile.duckdb

Lines changed: 0 additions & 15 deletions
This file was deleted.

images/deprecated/Dockerfile.jupyter

Lines changed: 0 additions & 35 deletions
This file was deleted.

images/deprecated/Dockerfile.pytorch

Lines changed: 0 additions & 15 deletions
This file was deleted.

images/deprecated/Dockerfile.spatial

Lines changed: 0 additions & 36 deletions
This file was deleted.

0 commit comments

Comments
 (0)