-
-
Notifications
You must be signed in to change notification settings - Fork 234
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
3a32e41
commit b4e021a
Showing
2 changed files
with
3 additions
and
69 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,7 @@ | |
|
||
# Use NVIDIA CUDA as base image and run the same installation as in the other packages. | ||
# The version of cuda must match those of the packages installed in src/Dockerfile.gpulibs | ||
FROM nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04 | ||
FROM nvidia/cuda:12.0.1-cudnn8-runtime-ubuntu22.04 | ||
LABEL authors="Christoph Schranz <[email protected]>, Mathematical Michael <[email protected]>" | ||
# This is a concatenated Dockerfile, the maintainers of subsequent sections may vary. | ||
RUN chmod 1777 /tmp && chmod 1777 /var/tmp | ||
|
@@ -377,72 +377,6 @@ USER ${NB_UID} | |
|
||
WORKDIR "${HOME}" | ||
|
||
############################################################################ | ||
################ Dependency: jupyter/datascience-notebook ################## | ||
############################################################################ | ||
|
||
# Copyright (c) Jupyter Development Team. | ||
# Distributed under the terms of the Modified BSD License. | ||
ARG REGISTRY=quay.io | ||
ARG OWNER=jupyter | ||
|
||
LABEL maintainer="Jupyter Project <[email protected]>" | ||
|
||
# Fix: https://github.com/hadolint/hadolint/wiki/DL4006 | ||
# Fix: https://github.com/koalaman/shellcheck/wiki/SC3014 | ||
SHELL ["/bin/bash", "-o", "pipefail", "-c"] | ||
|
||
USER root | ||
|
||
# R pre-requisites | ||
RUN apt-get update --yes && \ | ||
apt-get install --yes --no-install-recommends \ | ||
fonts-dejavu \ | ||
gfortran \ | ||
gcc && \ | ||
apt-get clean && rm -rf /var/lib/apt/lists/* | ||
|
||
# Julia dependencies | ||
# install Julia packages in /opt/julia instead of ${HOME} | ||
ENV JULIA_DEPOT_PATH=/opt/julia \ | ||
JULIA_PKGDIR=/opt/julia | ||
|
||
# Setup Julia | ||
RUN /opt/setup-scripts/setup_julia.py | ||
|
||
USER ${NB_UID} | ||
|
||
# Setup IJulia kernel & other packages | ||
RUN /opt/setup-scripts/setup-julia-packages.bash | ||
|
||
# R packages including IRKernel which gets installed globally. | ||
# r-e1071: dependency of the caret R package | ||
RUN mamba install --yes \ | ||
'r-base' \ | ||
'r-caret' \ | ||
'r-crayon' \ | ||
'r-devtools' \ | ||
'r-e1071' \ | ||
'r-forecast' \ | ||
'r-hexbin' \ | ||
'r-htmltools' \ | ||
'r-htmlwidgets' \ | ||
'r-irkernel' \ | ||
'r-nycflights13' \ | ||
'r-randomforest' \ | ||
'r-rcurl' \ | ||
'r-rmarkdown' \ | ||
'r-rodbc' \ | ||
'r-rsqlite' \ | ||
'r-shiny' \ | ||
'r-tidymodels' \ | ||
'r-tidyverse' \ | ||
'rpy2' \ | ||
'unixodbc' && \ | ||
mamba clean --all -f -y && \ | ||
fix-permissions "${CONDA_DIR}" && \ | ||
fix-permissions "/home/${NB_USER}" | ||
|
||
############################################################################ | ||
########################## Dependency: gpulibs ############################# | ||
############################################################################ | ||
|
@@ -507,7 +441,7 @@ RUN pip install --no-cache-dir nvidia-pyindex && \ | |
fix-permissions "${CONDA_DIR}" && \ | ||
fix-permissions "/home/${NB_USER}" | ||
|
||
RUN mamba install -c nvidia cuda-nvcc=11.8.89 -y && \ | ||
RUN mamba install -c nvidia cuda-nvcc=12.0.140 -y && \ | ||
mamba clean --all -f -y && \ | ||
fix-permissions $CONDA_DIR && \ | ||
fix-permissions /home/$NB_USER | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters