Skip to content

Commit 0a3c465

Browse files
committed
Update Apptainer build to pull git repo
1 parent 078e5df commit 0a3c465

File tree

2 files changed

+7
-5
lines changed

2 files changed

+7
-5
lines changed

.github/workflows/apptainer-build-deploy.yml

+1-3
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,7 @@ jobs:
1414
include:
1515
- os: ubuntu-latest
1616
artifact_name: gaps.sif
17-
asset_name: gaps-linux-amd64
18-
body: GAPs Apptainer Image (ubuntu-latest)
17+
asset_name: gaps-linux-amd64.sif
1918
# - os: windows-latest
2019
# artifact_name: mything.exe
2120
# asset_name: mything-windows-amd64
@@ -51,4 +50,3 @@ jobs:
5150
asset_name: ${{ matrix.asset_name }}
5251
tag: ${{ github.ref }}
5352
overwrite: true
54-
body: ${{ matrix.body }}

Apptainer

+6-2
Original file line numberDiff line numberDiff line change
@@ -9,10 +9,14 @@ From: python:3.11
99
%post
1010
echo "Installing vim"
1111
apt-get update && apt-get -y upgrade
12-
apt-get -y --allow-unauthenticated install vim
12+
apt-get -y --allow-unauthenticated install vim git wget nano make
13+
14+
echo "Downloading GAPs"
15+
git clone https://github.com/NREL/gaps.git
1316

1417
echo "Installing GAPs..."
15-
pip install NREL-gaps
18+
cd gaps
19+
pip install -e .
1620

1721
%runscript
1822
"$@"

0 commit comments

Comments
 (0)