File tree Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Expand file tree Collapse file tree 3 files changed +39
-0
lines changed Original file line number Diff line number Diff line change 1919 - os : " ubuntu-22.04"
2020 make_target : " all-podman-ubuntu-2204"
2121 artifact_name : " aleph-vm.ubuntu-22.04.deb"
22+ - os : " ubuntu-24.04"
23+ make_target : " all-podman-ubuntu-2404"
24+ artifact_name : " aleph-vm.ubuntu-24.04.deb"
2225 steps :
2326 - name : Checkout repository
2427 uses : actions/checkout@v4
Original file line number Diff line number Diff line change @@ -93,6 +93,17 @@ all-podman-ubuntu-2204: version
9393 file target/aleph-vm.deb
9494 mv target/aleph-vm.deb target/aleph-vm.ubuntu-22.04.deb
9595
96+ all-podman-ubuntu-2404 : version
97+ cd .. && podman build -t localhost/aleph-vm-packaging-ubuntu-2404:latest -f ./packaging/ubuntu-24.04.dockerfile .
98+ mkdir -p ./target
99+ podman run --rm -ti \
100+ -w /opt/packaging \
101+ -v ./target:/opt/packaging/target \
102+ localhost/aleph-vm-packaging-ubuntu-2404:latest \
103+ make
104+ file target/aleph-vm.deb
105+ mv target/aleph-vm.deb target/aleph-vm.ubuntu-24.04.deb
106+
96107# extract Python requirements from Debian 11 container
97108requirements-debian-11 : all-podman-debian-11
98109 podman run --rm -ti \
@@ -120,6 +131,15 @@ requirements-ubuntu-22.04: all-podman-ubuntu-2204
120131 ubuntu:jammy \
121132 bash -c " /opt/extract_requirements.sh /mnt/requirements-ubuntu-22.04.txt"
122133
134+ # extract Python requirements from Ubuntu 24.04 container
135+ requirements-ubuntu-24.04 : all-podman-ubuntu-2404
136+ podman run --rm -ti \
137+ -v ./target/aleph-vm.ubuntu-24.04.deb:/opt/packaging/target/aleph-vm.deb:ro \
138+ -v ./extract_requirements.sh:/opt/extract_requirements.sh:ro \
139+ -v ./requirements-ubuntu-24.04.txt:/mnt/requirements-ubuntu-24.04.txt \
140+ ubuntu:noble \
141+ bash -c " /opt/extract_requirements.sh /mnt/requirements-ubuntu-24.04.txt"
142+
123143# run on host in order to sign with GPG
124144repository-bullseye :
125145 cd ./repositories/bullseye && reprepro -Vb . includedeb bullseye ../../target/aleph-vm.debian-11.deb && cd ..
Original file line number Diff line number Diff line change 1+ FROM ubuntu:24.04
2+
3+ RUN apt-get update && apt-get -y upgrade && apt-get install -y \
4+ make \
5+ git \
6+ curl \
7+ sudo \
8+ python3-pip \
9+ && rm -rf /var/lib/apt/lists/*
10+
11+ WORKDIR /opt
12+ COPY ../src/aleph ./src/aleph
13+ COPY ../packaging ./packaging
14+ COPY ../kernels ./kernels
15+
16+ COPY ../examples/ ./examples
You can’t perform that action at this time.
0 commit comments