Skip to content

Commit c8159dc

Browse files
committed
Initial best effort support for Arch Linux
1 parent 78ef940 commit c8159dc

File tree

2 files changed

+42
-0
lines changed

2 files changed

+42
-0
lines changed
Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,34 @@
1+
{
2+
"_comment": "Arch Linux builder X-enabled",
3+
"variables": {
4+
"REPO": "registry.cern.ch/alisw/archlinux20250601-builder",
5+
"TAG": "latest"
6+
},
7+
"builders": [
8+
{
9+
"type": "docker",
10+
"image": "archlinux:base-devel",
11+
"commit": true
12+
}
13+
],
14+
"provisioners": [
15+
{
16+
"type": "shell",
17+
"script": "provision.sh"
18+
}
19+
],
20+
"post-processors": [
21+
[
22+
{
23+
"type": "docker-tag",
24+
"repository": "{{user `REPO`}}",
25+
"tag": "{{user `TAG`}}"
26+
},
27+
{
28+
"type": "shell-local",
29+
"inline": ["echo 'The image was built successfully. To push the image to the registry, you can run: docker push {{user `REPO`}}:{{user `TAG`}}'"]
30+
}
31+
32+
]
33+
]
34+
}
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
#!/usr/bin/bash
2+
set -exo pipefail
3+
4+
pacman -Syu --noconfirm
5+
pacman -S --noconfirm git python3 python-pip which gcc \
6+
make gcc-fortran \
7+
base-devel libxpm libxft glu gsl \
8+
libuv tbb xerces-c re2 libwebsockets grpc

0 commit comments

Comments
 (0)