-
Notifications
You must be signed in to change notification settings - Fork 8
/
Apptainer
47 lines (36 loc) · 1.07 KB
/
Apptainer
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# Stage 1: Compile the planner
Bootstrap: docker
From: ubuntu:24.04
Stage: build
%files
. /planner
%post
## Install all necessary dependencies.
apt-get update
DEBIAN_FRONTEND=noninteractive apt-get -y install --no-install-recommends cmake g++ make python3.12 autoconf automake
## Clear build directory.
rm -rf /planner/builds
## Build planner.
cd /planner
python3.12 build.py
## Strip binaries.
strip --strip-all /planner/builds/release/bin/downward /planner/builds/release/bin/preprocess
# Stage 2: Run the planner
Bootstrap: docker
From: ubuntu:24.04
Stage: run
%files from build
/planner/driver
/planner/fast-downward.py
/planner/builds/release/bin
%post
apt-get update
apt-get -y install --no-install-recommends python3.12
rm -rf /var/lib/apt/lists/*
%runscript
#!/bin/bash
python3.12 /planner/fast-downward.py "$@"
%labels
Name SymK
Description Symk is a state-of-the-art classical optimal and top-k planner based on symbolic search.
Authors David Speck <david.speck@liu.se>