Skip to content

Commit

Permalink
add runscript to example .def file
Browse files Browse the repository at this point in the history
  • Loading branch information
CormacKinsella committed Jun 4, 2024
1 parent 4b76819 commit 565f0d0
Showing 1 changed file with 7 additions and 4 deletions.
11 changes: 7 additions & 4 deletions apptainer/example.def
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,15 @@ Bootstrap: docker
From: debian:12.5-slim

%environment
export PATH=$PATH:/root/.pixi/bin
export PATH=$PATH:/root/.pixi/bin

%runscript
cat /etc/debian_version

%post
export PATH=$PATH:/root/.pixi/bin
apt-get update && \
apt-get install -y curl && \
export PATH=$PATH:/root/.pixi/bin
apt-get update && \
apt-get install -y curl && \
curl -fsSL https://pixi.sh/install.sh | bash && \
apt-get clean && \
pixi global install -c bioconda -c conda-forge minigraph

0 comments on commit 565f0d0

Please sign in to comment.