From ac8a12bb8e2287110c4ec85adc9fbb503b7c37df Mon Sep 17 00:00:00 2001 From: Abdalla Date: Wed, 13 Nov 2024 17:40:01 +0000 Subject: [PATCH] Fix output folder --- output/jupyterlab-cpu/Dockerfile | 2 -- output/jupyterlab-pytorch/Dockerfile | 2 -- output/jupyterlab-tensorflow/Dockerfile | 2 -- output/rstudio/Dockerfile | 9 +++++++-- output/sas/Dockerfile | 9 +++++++-- 5 files changed, 14 insertions(+), 10 deletions(-) diff --git a/output/jupyterlab-cpu/Dockerfile b/output/jupyterlab-cpu/Dockerfile index 2eac7476e..1074c7e1a 100644 --- a/output/jupyterlab-cpu/Dockerfile +++ b/output/jupyterlab-cpu/Dockerfile @@ -29,8 +29,6 @@ RUN apt-get update --yes \ && rm -rf /var/lib/apt/lists/* \ && chmod +x /usr/bin/clean-layer.sh -RUN conda install mamba=2.0.0 - ############################### ### docker-bits/3_Kubeflow.Dockerfile ############################### diff --git a/output/jupyterlab-pytorch/Dockerfile b/output/jupyterlab-pytorch/Dockerfile index 3f4605fdc..dbe62f87a 100644 --- a/output/jupyterlab-pytorch/Dockerfile +++ b/output/jupyterlab-pytorch/Dockerfile @@ -29,8 +29,6 @@ RUN apt-get update --yes \ && rm -rf /var/lib/apt/lists/* \ && chmod +x /usr/bin/clean-layer.sh -RUN conda install mamba=2.0.0 - ############################### ### docker-bits/2_pytorch.Dockerfile ############################### diff --git a/output/jupyterlab-tensorflow/Dockerfile b/output/jupyterlab-tensorflow/Dockerfile index 1c056ef66..ecb0f5099 100644 --- a/output/jupyterlab-tensorflow/Dockerfile +++ b/output/jupyterlab-tensorflow/Dockerfile @@ -29,8 +29,6 @@ RUN apt-get update --yes \ && rm -rf /var/lib/apt/lists/* \ && chmod +x /usr/bin/clean-layer.sh -RUN conda install mamba=2.0.0 - ############################### ### docker-bits/1_CUDA-11.8.0.Dockerfile ############################### diff --git a/output/rstudio/Dockerfile b/output/rstudio/Dockerfile index b6429ecce..eb1f10b3c 100644 --- a/output/rstudio/Dockerfile +++ b/output/rstudio/Dockerfile @@ -29,8 +29,6 @@ RUN apt-get update --yes \ && rm -rf /var/lib/apt/lists/* \ && chmod +x /usr/bin/clean-layer.sh -RUN conda install mamba=2.0.0 - ############################### ### docker-bits/3_Kubeflow.Dockerfile ############################### @@ -203,6 +201,13 @@ RUN mamba install --quiet --yes \ 'r-arrow' \ 'r-aws.s3' \ 'r-catools' \ + && \ + clean-layer.sh && \ + fix-permissions $CONDA_DIR && \ + fix-permissions /home/$NB_USER + +# Install some default R packages +RUN mamba install --quiet --yes \ 'r-hdf5r' \ 'r-odbc' \ 'r-sf' \ diff --git a/output/sas/Dockerfile b/output/sas/Dockerfile index a9e8dd1b7..1c874feb3 100644 --- a/output/sas/Dockerfile +++ b/output/sas/Dockerfile @@ -30,8 +30,6 @@ RUN pip install --force-reinstall cryptography==39.0.1 && \ fix-permissions $CONDA_DIR && \ fix-permissions /home/$NB_USER -RUN conda install mamba=2.0.0 - ############################### ### docker-bits/3_Kubeflow.Dockerfile ############################### @@ -351,6 +349,13 @@ RUN mamba install --quiet --yes \ 'r-arrow' \ 'r-aws.s3' \ 'r-catools' \ + && \ + clean-layer.sh && \ + fix-permissions $CONDA_DIR && \ + fix-permissions /home/$NB_USER + +# Install some default R packages +RUN mamba install --quiet --yes \ 'r-hdf5r' \ 'r-odbc' \ 'r-sf' \