Gitlab Community Edition Instance
Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
deep-learning-with-gpu-cores
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AG-Compute-public
deep-learning-with-gpu-cores
Commits
c89ecbd5
Commit
c89ecbd5
authored
2 months ago
by
Hauke Kirchner
Browse files
Options
Downloads
Patches
Plain Diff
added new custom container for ML work with Python and R
parent
dd85bf43
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/container/dlc-python-r.def
+79
-0
79 additions, 0 deletions
code/container/dlc-python-r.def
with
79 additions
and
0 deletions
code/container/dlc-python-r.def
0 → 100644
+
79
−
0
View file @
c89ecbd5
Bootstrap: docker
From: condaforge/miniforge3
%post
export DEBIAN_FRONTEND=noninteractive
apt update
apt upgrade -y
apt install -y openssh-client
apt install -y --no-install-recommends software-properties-common dirmngr
wget -qO- https://cloud.r-project.org/bin/linux/ubuntu/marutter_pubkey.asc | tee -a /etc/apt/trusted.gpg.d/cran_ubuntu_key.asc
add-apt-repository "deb https://cloud.r-project.org/bin/linux/ubuntu $(lsb_release -cs)-cran40/"
add-apt-repository ppa:c2d4u.team/c2d4u4.0+
apt update
add-apt-repository ppa:ubuntugis/ubuntugis-unstable
apt-get update
apt-get install -y libgdal-dev libgeos++-dev libudunits2-dev libproj-dev libx11-dev libgl1-mesa-dev libglu1-mesa-dev libfreetype6-dev libxt-dev libfftw3-dev
apt install -y \
r-base \
r-cran-caret \
r-cran-crayon \
r-cran-devtools \
r-cran-forecast \
r-cran-hexbin \
r-cran-htmltools \
r-cran-htmlwidgets \
r-cran-plyr \
r-cran-randomforest \
r-cran-rcurl \
r-cran-reshape2 \
r-cran-rmarkdown \
r-cran-rodbc \
r-cran-rsqlite \
r-cran-shiny \
r-cran-tidyverse
# install lidR
#Rscript -e "install.packages(c('lidR'), repos='https://ftp.gwdg.de/pub/misc/cran/')"
Rscript -e "install.packages(c('assertthat', 'dbscan', 'raster', 'data.table', 'Rcpp','DBI', 'e1071', 'proxy', 'magrittr'), repos='https://ftp.gwdg.de/pub/misc/cran/')"
apt install -y libclang-dev lsb-release psmisc sudo
ubuntu_release=$(lsb_release --codename --short)
wget https://download2.rstudio.org/server/${ubuntu_release}/amd64/rstudio-server-2023.12.1-402-amd64.deb
dpkg --install rstudio-server-2023.12.1-402-amd64.deb
rm rstudio-server-2023.12.1-402-amd64.deb
echo 'ftp_proxy=http://www-cache.gwdg.de:3128' >> /usr/lib/R/etc/Renviron.site
echo 'https_proxy=http://www-cache.gwdg.de:3128' >> /usr/lib/R/etc/Renviron.site
echo 'http_proxy=http://www-cache.gwdg.de:3128' >> /usr/lib/R/etc/Renviron.site
echo '' >> /usr/lib/R/etc/Renviron.site
conda install --quiet --yes \
'ipyparallel=8.8.0' \
'jupyter-rsession-proxy=2.2.1' \
'notebook=7.2.1' \
'jupyterhub=4.1.5' \
'jupyterlab=4.2.3'
conda install --quiet --yes \
dgl \
igraph \
keras \
pandas \
pydot \
scikit-learn \
scipy \
seaborn
conda install --quiet --yes --channel pytorch --channel nvidia \
pytorch \
pytorch-cuda=12.1 \
torchaudio \
torchvision
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment