Skip to content
Snippets Groups Projects
Commit a6965121 authored by McCarthy, Samuel (ITS Product Mgmt)'s avatar McCarthy, Samuel (ITS Product Mgmt)
Browse files

Update file apptainer_container.def

parents
No related branches found
No related tags found
No related merge requests found
# Get the base image from nvidia/cuda Docker image.
BootStrap: docker
From: nvidia/cuda:11.8.0-cudnn8-runtime-ubuntu22.04
%post
# Install special software or additions
apt-get update -y # Good practice, update the package database.
apt-get install -y libopenblas-dev # Install the BLAS.
apt-get autoremove -y && apt-get autoclean -y # Good practice, to keep the Docker image as small as possible.
%environment
# Set some environment vars
export PATH=/opt/root/bin:$PATH
export LD_LIBRARY_PATH=/opt/root/lib:$LD_LIBRARY_PATH
export PYTHONPATH=/opt/root/lib
%runscript
# The command that will run when container is started via apptainer run command.
python /opt/root/tutorials/roofit/rf101_basics.py
%labels
# Add custom metadata to the container.
Author Me
Version v0.0.1
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment