Skip to content
Snippets Groups Projects
Commit 4e0cf594 authored by Jonas Eppelt's avatar Jonas Eppelt
Browse files

added cuda image for ml excercises

parent 646a1ced
Branches
No related tags found
No related merge requests found
FROM nvidia/cuda:11.1.1-cudnn8-devel-ubuntu20.04
LABEL maintainer "Eppelt, Jonas jonas.eppelt@kit.edu"
USER root
### run apt-get installs for Latex for notebook conversion
RUN apt-get update -y && apt-get upgrade -y && \
apt-get install -y nano vim pandoc dvipng git texlive-xetex texlive texlive-lang-german texlive-latex-extra \
dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev libssl-dev --upgrade && \
apt-get clean && rm -rf /var/lib/apt/lists/*
### installing pip packages
RUN pip install numpy seaborn scipy matplotlib uncertainties pyunfold PhyPraKit pandas\
kafe2 pydot graphviz scikit-learn --upgrade --no-cache-dir
RUN pip install iminuit --no-cache
### set Workdir
WORKDIR /home
RUN apt-get update -y && apt-get upgrade -y && \
apt-get install -y dpkg-dev cmake g++ gcc binutils libx11-dev libxpm-dev libxft-dev libxext-dev libssl-dev && \
apt-get clean && rm -rf /var/lib/apt/lists/* && \
wget https://root.cern/download/root_v6.28.04.Linux-ubuntu22-x86_64-gcc11.3.tar.gz && \
tar -xzf root_v6.28.04.Linux-ubuntu22-x86_64-gcc11.3.tar.gz && \
source root/bin/thisroot.sh
RUN pip install requests-ftp lxml uproot wheel awkward probfit tensorflow --no-cache-dir
## Switch back to $NB_USER
USER $NB_USER
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment