Skip to content

Commit

Permalink
Drop arguments sections for 1.1.x compatibility. Lose unnecessary JUL…
Browse files Browse the repository at this point in the history
…IA_DEPOT_PATH element
  • Loading branch information
wardharold committed Aug 7, 2024
1 parent 385eb7f commit 1868051
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions Apptainer.def
Original file line number Diff line number Diff line change
@@ -1,20 +1,12 @@
# Build an Apptainer SIF file containing a working copy of PySR and its prereqs
Bootstrap: docker
From: julia:{{ JULIA_VERSION }}-{{ JULIA_BASE_IMAGE }}
From: julia:1.10.4-bullseye
Stage: jl

%arguments
JULIA_VERSION=1.10.4
JULIA_BASE_IMAGE=bullseye

Bootstrap: docker
From: python:{{ PYTHON_VERSION }}-{{ BASE_IMAGE }}
From: python:3.12-bullseye
Stage: runtime

%arguments
PYTHON_VERSION=3.12
BASE_IMAGE=bullseye

%environment
# Use the container Julia binary
export PATH="/usr/local/julia/bin:$PATH"
Expand Down Expand Up @@ -49,7 +41,7 @@ Stage: runtime
mkdir /pysr/depot
mkdir /pysr/env

export JULIA_DEPOT_PATH="/pysr/depot:$JULIA_DEPOT_PATH"
export JULIA_DEPOT_PATH="/pysr/depot"
export PYTHON_JULIAPKG_PROJECT="/pysr/env"

# Pull in all the Julia dependencies
Expand Down

0 comments on commit 1868051

Please sign in to comment.