Skip to content

Commit

Permalink
global base image update (#39)
Browse files Browse the repository at this point in the history
* update to new cuda version and new code-server

* update to new cuda version and new code-server

* fix typos

* fix rt version

* update deepl

* fix typo

* flair messes with pytorch?

* cleanup and potential fix for deepl deps

* update base image for all labs images

* update swi prolog version

* revert to old image
  • Loading branch information
DeepCowProductions authored Aug 30, 2024
1 parent bd039e1 commit c130e48
Show file tree
Hide file tree
Showing 9 changed files with 114 additions and 80 deletions.
154 changes: 93 additions & 61 deletions base-images/vscode/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -25,21 +25,22 @@ FROM nocuda as cuda
USER root

ENV NVARCH x86_64
ENV CUDA_VERSION 11.7.1
ENV NVIDIA_REQUIRE_CUDA "cuda>=12.1 brand=tesla,driver>=450,driver<451 brand=tesla,driver>=470,driver<471 brand=unknown,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=geforce,driver>=470,driver<471 brand=geforcertx,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=titan,driver>=470,driver<471 brand=titanrtx,driver>=470,driver<471 brand=tesla,driver>=510,driver<511 brand=unknown,driver>=510,driver<511 brand=nvidia,driver>=510,driver<511 brand=nvidiartx,driver>=510,driver<511 brand=geforce,driver>=510,driver<511 brand=geforcertx,driver>=510,driver<511 brand=quadro,driver>=510,driver<511 brand=quadrortx,driver>=510,driver<511 brand=titan,driver>=510,driver<511 brand=titanrtx,driver>=510,driver<511 brand=tesla,driver>=515,driver<516 brand=unknown,driver>=515,driver<516 brand=nvidia,driver>=515,driver<516 brand=nvidiartx,driver>=515,driver<516 brand=geforce,driver>=515,driver<516 brand=geforcertx,driver>=515,driver<516 brand=quadro,driver>=515,driver<516 brand=quadrortx,driver>=515,driver<516 brand=titan,driver>=515,driver<516 brand=titanrtx,driver>=515,driver<516 brand=tesla,driver>=525,driver<526 brand=unknown,driver>=525,driver<526 brand=nvidia,driver>=525,driver<526 brand=nvidiartx,driver>=525,driver<526 brand=geforce,driver>=525,driver<526 brand=geforcertx,driver>=525,driver<526 brand=quadro,driver>=525,driver<526 brand=quadrortx,driver>=525,driver<526 brand=titan,driver>=525,driver<526 brand=titanrtx,driver>=525,driver<526"
ENV NV_CUDA_COMPAT_PACKAGE cuda-compat-12-1
ENV CUDA_VERSION 12.5

ENV NVIDIA_REQUIRE_CUDA "cuda>=12.5 brand=unknown,driver>=470,driver<471 brand=grid,driver>=470,driver<471 brand=tesla,driver>=470,driver<471 brand=nvidia,driver>=470,driver<471 brand=quadro,driver>=470,driver<471 brand=quadrortx,driver>=470,driver<471 brand=nvidiartx,driver>=470,driver<471 brand=vapps,driver>=470,driver<471 brand=vpc,driver>=470,driver<471 brand=vcs,driver>=470,driver<471 brand=vws,driver>=470,driver<471 brand=cloudgaming,driver>=470,driver<471 brand=unknown,driver>=535,driver<536 brand=grid,driver>=535,driver<536 brand=tesla,driver>=535,driver<536 brand=nvidia,driver>=535,driver<536 brand=quadro,driver>=535,driver<536 brand=quadrortx,driver>=535,driver<536 brand=nvidiartx,driver>=535,driver<536 brand=vapps,driver>=535,driver<536 brand=vpc,driver>=535,driver<536 brand=vcs,driver>=535,driver<536 brand=vws,driver>=535,driver<536 brand=cloudgaming,driver>=535,driver<536 brand=unknown,driver>=550,driver<551 brand=grid,driver>=550,driver<551 brand=tesla,driver>=550,driver<551 brand=nvidia,driver>=550,driver<551 brand=quadro,driver>=550,driver<551 brand=quadrortx,driver>=550,driver<551 brand=nvidiartx,driver>=550,driver<551 brand=vapps,driver>=550,driver<551 brand=vpc,driver>=550,driver<551 brand=vcs,driver>=550,driver<551 brand=vws,driver>=550,driver<551 brand=cloudgaming,driver>=550,driver<551"
ENV NV_CUDA_CUDART_VERSION 12.5.82-1

RUN apt-get update && apt-get install -y --no-install-recommends \
gnupg2 curl ca-certificates && \
curl -fsSL https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/${NVARCH}/3bf863cc.pub | apt-key add - && \
echo "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2004/${NVARCH} /" > /etc/apt/sources.list.d/cuda.list && \
curl -fsSLO https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/${NVARCH}/cuda-keyring_1.1-1_all.deb && \
dpkg -i cuda-keyring_1.1-1_all.deb && \
apt-get purge --autoremove -y curl \
&& rm -rf /var/lib/apt/lists/*

# For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
## For libraries in the cuda-compat-* package: https://docs.nvidia.com/cuda/eula/index.html#attachment-a
RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-cudart-11-7 \
${NV_CUDA_COMPAT_PACKAGE} \
cuda-cudart-12-5=${NV_CUDA_CUDART_VERSION} \
cuda-compat-12-5 \
&& rm -rf /var/lib/apt/lists/*

# Required for nvidia-docker v1
Expand Down Expand Up @@ -78,27 +79,27 @@ FROM cuda as cuda-runtime

USER root

ENV NV_CUDA_LIB_VERSION 11.7.1-1
ENV NV_CUDA_LIB_VERSION 12.5.1-1

ENV NV_NVTX_VERSION 11.7.91-1
ENV NV_LIBNPP_VERSION 11.7.4.75-1
ENV NV_LIBNPP_PACKAGE libnpp-11-7=${NV_LIBNPP_VERSION}
ENV NV_LIBCUSPARSE_VERSION 11.7.4.91-1
ENV NV_NVTX_VERSION 12.5.82-1
ENV NV_LIBNPP_VERSION 12.3.0.159-1
ENV NV_LIBNPP_PACKAGE libnpp-12-5=${NV_LIBNPP_VERSION}
ENV NV_LIBCUSPARSE_VERSION 12.5.1.3-1

ENV NV_LIBCUBLAS_PACKAGE_NAME libcublas-11-7
ENV NV_LIBCUBLAS_VERSION 11.10.3.66-1
ENV NV_LIBCUBLAS_PACKAGE_NAME libcublas-12-5
ENV NV_LIBCUBLAS_VERSION 12.5.3.2-1
ENV NV_LIBCUBLAS_PACKAGE ${NV_LIBCUBLAS_PACKAGE_NAME}=${NV_LIBCUBLAS_VERSION}

ENV NV_LIBNCCL_PACKAGE_NAME libnccl2
ENV NV_LIBNCCL_PACKAGE_VERSION 2.13.4-1
ENV NCCL_VERSION 2.13.4-1
ENV NV_LIBNCCL_PACKAGE ${NV_LIBNCCL_PACKAGE_NAME}=${NV_LIBNCCL_PACKAGE_VERSION}+cuda11.7
ENV NV_LIBNCCL_PACKAGE_VERSION 2.22.3-1
ENV NCCL_VERSION 2.22.3-1
ENV NV_LIBNCCL_PACKAGE ${NV_LIBNCCL_PACKAGE_NAME}=${NV_LIBNCCL_PACKAGE_VERSION}+cuda12.5

RUN apt-get update && apt-get install -y --no-install-recommends \
cuda-libraries-11-7=${NV_CUDA_LIB_VERSION} \
cuda-libraries-12-5=${NV_CUDA_LIB_VERSION} \
${NV_LIBNPP_PACKAGE} \
cuda-nvtx-11-7=${NV_NVTX_VERSION} \
libcusparse-11-7=${NV_LIBCUSPARSE_VERSION} \
cuda-nvtx-12-5=${NV_NVTX_VERSION} \
libcusparse-12-5=${NV_LIBCUSPARSE_VERSION} \
${NV_LIBCUBLAS_PACKAGE} \
${NV_LIBNCCL_PACKAGE} \
&& rm -rf /var/lib/apt/lists/*
Expand All @@ -120,9 +121,9 @@ FROM cuda-runtime as cuda-cudnn

USER root

ENV NV_CUDNN_VERSION 8.5.0.96
ENV NV_CUDNN_PACKAGE_NAME "libcudnn8"
ENV NV_CUDNN_PACKAGE "libcudnn8=$NV_CUDNN_VERSION-1+cuda11.7"
ENV NV_CUDNN_VERSION 9.2.1.18-1
ENV NV_CUDNN_PACKAGE_NAME libcudnn9-cuda-12
ENV NV_CUDNN_PACKAGE libcudnn9-cuda-12=${NV_CUDNN_VERSION}

LABEL com.nvidia.cudnn.version="${NV_CUDNN_VERSION}"

Expand All @@ -131,6 +132,7 @@ RUN apt-get update && apt-get install -y --no-install-recommends \
&& apt-mark hold ${NV_CUDNN_PACKAGE_NAME} \
&& rm -rf /var/lib/apt/lists/*


# conda LD_LIBRARY_PATH contains conflicting packages
#ENV LD_LIBRARY_PATH=${LD_LIBRARY_PATH}:${CONDA_DIR}/lib/
RUN echo LD_LIBRARY_PATH="${LD_LIBRARY_PATH}" >> /etc/environment
Expand Down Expand Up @@ -159,79 +161,109 @@ FROM cuda-cudnn as cuda-devel

USER root

ENV NV_CUDA_LIB_VERSION "11.7.1-1"
ENV NV_CUDA_LIB_VERSION "12.5.1-1"

ENV NV_CUDA_CUDART_DEV_VERSION 11.7.99-1
ENV NV_NVML_DEV_VERSION 11.7.91-1
ENV NV_LIBCUSPARSE_DEV_VERSION 11.7.4.91-1
ENV NV_LIBNPP_DEV_VERSION 11.7.4.75-1
ENV NV_LIBNPP_DEV_PACKAGE libnpp-dev-11-7=${NV_LIBNPP_DEV_VERSION}
ENV NV_CUDA_CUDART_DEV_VERSION 12.5.82-1
ENV NV_NVML_DEV_VERSION 12.5.82-1
ENV NV_LIBCUSPARSE_DEV_VERSION 12.5.1.3-1
ENV NV_LIBNPP_DEV_VERSION 12.3.0.159-1
ENV NV_LIBNPP_DEV_PACKAGE libnpp-dev-12-5=${NV_LIBNPP_DEV_VERSION}

ENV NV_LIBCUBLAS_DEV_VERSION 11.10.3.66-1
ENV NV_LIBCUBLAS_DEV_PACKAGE_NAME libcublas-dev-11-7
ENV NV_LIBCUBLAS_DEV_VERSION 12.5.3.2-1
ENV NV_LIBCUBLAS_DEV_PACKAGE_NAME libcublas-dev-12-5
ENV NV_LIBCUBLAS_DEV_PACKAGE ${NV_LIBCUBLAS_DEV_PACKAGE_NAME}=${NV_LIBCUBLAS_DEV_VERSION}

ENV NV_NVPROF_VERSION 11.7.101-1
ENV NV_NVPROF_DEV_PACKAGE cuda-nvprof-11-7=${NV_NVPROF_VERSION}
ENV NV_CUDA_NSIGHT_COMPUTE_VERSION 12.5.1-1
ENV NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE cuda-nsight-compute-12-5=${NV_CUDA_NSIGHT_COMPUTE_VERSION}

ENV NV_NVPROF_VERSION 12.5.82-1
ENV NV_NVPROF_DEV_PACKAGE cuda-nvprof-12-5=${NV_NVPROF_VERSION}

ENV NV_LIBNCCL_DEV_PACKAGE_NAME libnccl-dev
ENV NV_LIBNCCL_DEV_PACKAGE_VERSION 2.13.4-1
ENV NCCL_VERSION 2.13.4-1
ENV NV_LIBNCCL_DEV_PACKAGE ${NV_LIBNCCL_DEV_PACKAGE_NAME}=${NV_LIBNCCL_DEV_PACKAGE_VERSION}+cuda11.7
ENV NV_LIBNCCL_DEV_PACKAGE_VERSION 2.22.3-1
ENV NCCL_VERSION 2.22.3-1
ENV NV_LIBNCCL_DEV_PACKAGE ${NV_LIBNCCL_DEV_PACKAGE_NAME}=${NV_LIBNCCL_DEV_PACKAGE_VERSION}+cuda12.5

RUN apt-get update && apt-get install -y --no-install-recommends \
libtinfo5 libncursesw5 \
cuda-cudart-dev-11-7=${NV_CUDA_CUDART_DEV_VERSION} \
cuda-command-line-tools-11-7=${NV_CUDA_LIB_VERSION} \
cuda-minimal-build-11-7=${NV_CUDA_LIB_VERSION} \
cuda-libraries-dev-11-7=${NV_CUDA_LIB_VERSION} \
cuda-nvml-dev-11-7=${NV_NVML_DEV_VERSION} \
cuda-cudart-dev-12-5=${NV_CUDA_CUDART_DEV_VERSION} \
cuda-command-line-tools-12-5=${NV_CUDA_LIB_VERSION} \
cuda-minimal-build-12-5=${NV_CUDA_LIB_VERSION} \
cuda-libraries-dev-12-5=${NV_CUDA_LIB_VERSION} \
cuda-nvml-dev-12-5=${NV_NVML_DEV_VERSION} \
${NV_NVPROF_DEV_PACKAGE} \
${NV_LIBNPP_DEV_PACKAGE} \
libcusparse-dev-11-7=${NV_LIBCUSPARSE_DEV_VERSION} \
libcusparse-dev-12-5=${NV_LIBCUSPARSE_DEV_VERSION} \
${NV_LIBCUBLAS_DEV_PACKAGE} \
${NV_LIBNCCL_DEV_PACKAGE} \
${NV_CUDA_NSIGHT_COMPUTE_DEV_PACKAGE} \
&& rm -rf /var/lib/apt/lists/*

# cudnn devel
ENV NV_CUDNN_VERSION 9.2.1.18-1
ENV NV_CUDNN_PACKAGE_NAME libcudnn9-cuda-12
ENV NV_CUDNN_PACKAGE libcudnn9-cuda-12=${NV_CUDNN_VERSION}
ENV NV_CUDNN_PACKAGE_DEV libcudnn9-dev-cuda-12=${NV_CUDNN_VERSION}

# Install TensorRT
ENV NV_TRT_VERSION 8.5.3
ENV NV_TENSOR_RT_TAG 8.5.3-1+cuda11.8
RUN apt-get update && apt-get install -y --no-install-recommends \
${NV_CUDNN_PACKAGE} \
${NV_CUDNN_PACKAGE_DEV} \
&& apt-mark hold ${NV_CUDNN_PACKAGE_NAME} \
&& rm -rf /var/lib/apt/lists/*

# extra Install TensorRT
ENV NV_TRT_VERSION 10.3.0
# version="10.x.x.x-1+cudax.x"
ENV NV_TENSOR_RT_TAG 10.3.0.26-1+cuda12.5
ENV OS_RELEASE ubuntu2204

# easy repo add
RUN apt-get update && apt-get install -y software-properties-common

## Theese might change unexpectedly
# developer nvidia repo: https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/
RUN wget https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-ubuntu2204.pin
RUN mv cuda-ubuntu2204.pin /etc/apt/preferences.d/cuda-repository-pin-600
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/7fa2af80.pub
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
RUN apt-get update && apt-get install -y --no-install-recommends gnupg2 curl ca-certificates
RUN curl -sSL 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0x536F8F1DE80F6A35' | gpg --import
RUN curl -sSL 'http://keyserver.ubuntu.com/pks/lookup?op=get&search=0xA4B469963BF863CC' | gpg --import
RUN add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
RUN apt-get update
RUN apt-key adv --fetch-keys https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/3bf863cc.pub
RUN add-apt-repository "deb https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/ /"
RUN apt-get update

RUN apt-get install -y libcudnn8-dev=8.5.0.96-1+cuda11.7
RUN apt-get install -y libnvinfer8=${NV_TENSOR_RT_TAG} \
libnvinfer-plugin8=${NV_TENSOR_RT_TAG} \
RUN apt-get install -y \
libnvinfer-bin=${NV_TENSOR_RT_TAG} \
libnvinfer-dev=${NV_TENSOR_RT_TAG} \
libnvinfer-dispatch-dev=${NV_TENSOR_RT_TAG} \
libnvinfer-dispatch10=${NV_TENSOR_RT_TAG} \
libnvinfer-headers-dev=${NV_TENSOR_RT_TAG} \
libnvinfer-headers-plugin-dev=${NV_TENSOR_RT_TAG} \
libnvinfer-lean-dev=${NV_TENSOR_RT_TAG} \
libnvinfer-lean10=${NV_TENSOR_RT_TAG} \
libnvinfer-plugin-dev=${NV_TENSOR_RT_TAG} \
libnvonnxparsers8=${NV_TENSOR_RT_TAG} \
libnvinfer-plugin10=${NV_TENSOR_RT_TAG} \
libnvinfer-samples=${NV_TENSOR_RT_TAG} \
libnvinfer-vc-plugin-dev=${NV_TENSOR_RT_TAG} \
libnvinfer-vc-plugin10=${NV_TENSOR_RT_TAG} \
libnvinfer10=${NV_TENSOR_RT_TAG} \
libnvonnxparsers-dev=${NV_TENSOR_RT_TAG} \
libnvparsers8=${NV_TENSOR_RT_TAG} \
libnvparsers-dev=${NV_TENSOR_RT_TAG} \
libnvonnxparsers10=${NV_TENSOR_RT_TAG} \
python3-libnvinfer-dev=${NV_TENSOR_RT_TAG} \
python3-libnvinfer-dispatch=${NV_TENSOR_RT_TAG} \
python3-libnvinfer-lean=${NV_TENSOR_RT_TAG} \
python3-libnvinfer=${NV_TENSOR_RT_TAG} \
tensorrt-dev=${NV_TENSOR_RT_TAG} \
tensorrt-libs=${NV_TENSOR_RT_TAG} \
tensorrt=${NV_TENSOR_RT_TAG} \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*

# trick tf to use newer rt version
RUN ln -s /usr/lib/x86_64-linux-gnu/libnvinfer.so.8 /usr/lib/x86_64-linux-gnu/libnvinfer.so.7 \
&& ln -s /usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so.8 /usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so.7 \
&& ln -s /usr/lib/x86_64-linux-gnu/libnvonnxparser.so.8 /usr/lib/x86_64-linux-gnu/libnvonnxparser.so.7 \
&& ln -s /usr/lib/x86_64-linux-gnu/libnvparsers.so.8 /usr/lib/x86_64-linux-gnu/libnvparsers.so.7
#RUN ln -s /usr/lib/x86_64-linux-gnu/libnvinfer.so.8 /usr/lib/x86_64-linux-gnu/libnvinfer.so.7 \
# && ln -s /usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so.8 /usr/lib/x86_64-linux-gnu/libnvinfer_plugin.so.7 \
# && ln -s /usr/lib/x86_64-linux-gnu/libnvonnxparser.so.8 /usr/lib/x86_64-linux-gnu/libnvonnxparser.so.7 \
# && ln -s /usr/lib/x86_64-linux-gnu/libnvparsers.so.8 /usr/lib/x86_64-linux-gnu/libnvparsers.so.7
#not sure if still required

# Keep apt from auto upgrading the cublas and nccl packages. See https://gitlab.com/nvidia/container-images/cuda/-/issues/88
RUN apt-mark hold ${NV_LIBCUBLAS_DEV_PACKAGE_NAME} ${NV_LIBNCCL_DEV_PACKAGE_NAME}
Expand Down Expand Up @@ -259,7 +291,7 @@ RUN apt-get update && \
rm -rf /var/lib/apt/lists/*

# Code Server server-proxy/vscode-proxy from https://coder.com/docs/code-server/latest
ENV CODE_VERSION=4.13.0
ENV CODE_VERSION=4.92.2

ENV CODE_BUILTIN_EXTENSIONS_DIR=/usr/lib/code-server/lib/vscode/extensions/
ENV PATH=/opt/code-server/bin:$PATH \
Expand Down
2 changes: 1 addition & 1 deletion images/PKI/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-f7a5a4b
FROM $BASE_CONTAINER
ARG BASE_CONTAINER
ENV BUILD_IMAGE_NAME pki
Expand Down
2 changes: 1 addition & 1 deletion images/compilerbau/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-f7a5a4b
FROM $BASE_CONTAINER
ARG BASE_CONTAINER
ENV BUILD_IMAGE_NAME compilerbau
Expand Down
20 changes: 11 additions & 9 deletions images/deepml/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-cuda-devel:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-cuda-devel:sha-f7a5a4b
FROM $BASE_CONTAINER
ARG BASE_CONTAINER
ENV BUILD_IMAGE_NAME deepml
Expand Down Expand Up @@ -55,19 +55,21 @@ USER $NB_UID
# prevent TF from allocating all VRAM
ENV TF_FORCE_GPU_ALLOW_GROWTH true

# Install PyTorch
RUN pip install \
torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu117 \
&& rm -rf /tmp/* $HOME/.cache
#RUN pip install flair && rm -rf /tmp/* $HOME/.cache

# Install Huggingface tensorflow and other libraries
RUN pip install \
nvidia-cudnn-cu11==8.5.0.96 tensorflow==2.11.* mysql-connector-python keras-tuner pymysql \
librosa gradio wandb Cython==0.29.36 flair \
nvidia-cudnn-cu12==9.2.1.18 tensorflow==2.17.* mysql-connector-python keras-tuner pymysql \
librosa gradio wandb Cython==0.29.36 \
transformers datasets tokenizers evaluate adapter-transformers diffusers[torch] accelerate \
nltk gensim jiwer audiofile opencv-python tiktoken \
nltk gensim flair jiwer audiofile opencv-python tiktoken \
&& rm -rf /tmp/* $HOME/.cache

# Install PyTorch
RUN pip install \
torch==2.4.0+cu124 torchvision==0.19.0+cu124 torchaudio==2.4.0+cu124 --index-url https://download.pytorch.org/whl/cu124
#torch==2.0.0+cu117 torchvision==0.15.1+cu117 torchaudio==2.0.1 --index-url https://download.pytorch.org/whl/cu117 \

# spacy needs Cython==0.29.36 for now to compile
# see https://github.com/explosion/spaCy/discussions/12941
RUN pip install \
Expand All @@ -78,7 +80,7 @@ RUN pip install \
&& rm -rf /tmp/* $HOME/.cache

RUN pip install \
spacy==3.0.6 \
spacy==3.7.6 \
--no-build-isolation \
&& rm -rf /tmp/* $HOME/.cache

Expand Down
2 changes: 1 addition & 1 deletion images/eml/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-f7a5a4b
FROM $BASE_CONTAINER
ARG BASE_CONTAINER
ENV BUILD_IMAGE_NAME eml
Expand Down
8 changes: 4 additions & 4 deletions images/fulp/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -230,8 +230,8 @@ RUN mkdir -p /tmp/hls && cd /tmp/hls \

ENV LANG C.UTF-8
RUN set -eux \
&& SWIPL_VER=9.1.10 \
&& SWIPL_CHECKSUM=16c0d014510f5e0c3b427d2842cac89fea0d4c136caabbeb698d578ee8126870 \
&& SWIPL_VER=9.1.22 \
#&& SWIPL_CHECKSUM=16c0d014510f5e0c3b427d2842cac89fea0d4c136caabbeb698d578ee8126870 \
&& BUILD_DEPS='make cmake ninja-build gcc g++ wget git autoconf libarchive-dev libgmp-dev libossp-uuid-dev libxext-dev libice-dev libjpeg-dev libxinerama-dev libxft-dev libxpm-dev libxt-dev libpcre2-dev ncurses-dev libreadline-dev libedit-dev libssl-dev zlib1g-dev libdb-dev unixodbc-dev libgoogle-perftools-dev libyaml-dev' \
&& apt-get update \
&& apt-get install -y --no-install-recommends $BUILD_DEPS \
Expand All @@ -240,8 +240,8 @@ RUN set -eux \
&& mkdir /tmp/src \
&& cd /tmp/src \
&& wget -q https://www.swi-prolog.org/download/devel/src/swipl-$SWIPL_VER.tar.gz \
&& echo "$SWIPL_CHECKSUM swipl-$SWIPL_VER.tar.gz" >> swipl-$SWIPL_VER.tar.gz-CHECKSUM \
&& sha256sum -c swipl-$SWIPL_VER.tar.gz-CHECKSUM \
#&& echo "$SWIPL_CHECKSUM swipl-$SWIPL_VER.tar.gz" >> swipl-$SWIPL_VER.tar.gz-CHECKSUM \
#&& sha256sum -c swipl-$SWIPL_VER.tar.gz-CHECKSUM \
&& tar -xzf swipl-$SWIPL_VER.tar.gz \
&& mkdir swipl-$SWIPL_VER/build \
&& cd swipl-$SWIPL_VER/build \
Expand Down
2 changes: 1 addition & 1 deletion images/grader/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-f7a5a4b
FROM $BASE_CONTAINER
ARG BASE_CONTAINER
ENV BUILD_IMAGE_NAME grader
Expand Down
2 changes: 1 addition & 1 deletion images/java/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-minimal-nocuda:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-minimal-nocuda:sha-f7a5a4b

FROM $BASE_CONTAINER

Expand Down
2 changes: 1 addition & 1 deletion images/skriptsprachen/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-4dd0f7a
ARG BASE_CONTAINER=ghcr.io/fhswf/jupyterhub-k8s/vscode-scipy-nocuda:sha-f7a5a4b
FROM $BASE_CONTAINER
ARG BASE_CONTAINER
ENV BUILD_IMAGE_NAME skriptsprachen
Expand Down

0 comments on commit c130e48

Please sign in to comment.