Skip to content

Commit 670520a

Browse files
committed
alpine 3.22 lima template
Signed-off-by: Prabhu Subramanian <prabhu@appthreat.com>
1 parent aa47452 commit 670520a

File tree

6 files changed

+56
-3
lines changed

6 files changed

+56
-3
lines changed

.github/workflows/binary-builds.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- release/*
88
tags:
99
- 'v*'
10+
paths-ignore:
11+
- 'docs/**'
12+
- 'contrib/**'
13+
- '*.md'
1014
workflow_dispatch:
1115

1216
concurrency:

.github/workflows/build-images.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- master
99
tags:
1010
- 'v*'
11+
paths-ignore:
12+
- 'docs/**'
13+
- 'contrib/**'
14+
- '*.md'
1115
workflow_dispatch:
1216

1317
concurrency:

.github/workflows/build-rolling-image.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,10 @@ on:
88
- master
99
tags:
1010
- 'v*'
11+
paths-ignore:
12+
- 'docs/**'
13+
- 'contrib/**'
14+
- '*.md'
1115
workflow_dispatch:
1216

1317
concurrency:

.github/workflows/npm-release.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,10 @@ on:
77
- release/*
88
tags:
99
- 'v*'
10+
paths-ignore:
11+
- 'docs/**'
12+
- 'contrib/**'
13+
- '*.md'
1014
workflow_dispatch:
1115

1216
env:

contrib/lima/cdxgen-alpine.yaml

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
images:
2+
- location: https://github.com/AppThreat/alpine-lima/releases/download/v0.3.0/alpine-lima-std-3.22.0-x86_64.iso
3+
arch: x86_64
4+
digest: sha512:5583a58b163c7111f9507cc7c285b0522e76b0031f6767b450e3ad06941f50958cc723c29623865a9074d73805dff031fd02db4944aafb31a6e379a2723212b5
5+
6+
- location: https://github.com/AppThreat/alpine-lima/releases/download/v0.3.0/alpine-lima-std-3.22.0-aarch64.iso
7+
arch: aarch64
8+
digest: sha512:5e966183c1d81ff73943304c88921084a84a59fe85413505645533bb1531426373b45a0eaa64f80a3d7c80bb7206a97da4d0532ae4b642e7f641caa54cdcd35c
9+
mounts:
10+
- location: "~"
11+
- location: "/tmp/cdxgen"
12+
writable: true
13+
containerd:
14+
system: false
15+
user: false
16+
provision:
17+
- mode: dependency
18+
skipDefaultDependencyResolution: false
19+
script: |
20+
#!/bin/bash
21+
set -eux -o pipefail
22+
apk update
23+
apk add --no-cache \
24+
zip unzip wget binutils git gnupg curl tar \
25+
build-base musl-dev libedit libxml2-dev ncurses-dev z3-dev pkgconfig tzdata zlib-dev curl-dev sqlite-libs libstdc++ \
26+
python3 python3-dev py3-pip poetry uv \
27+
openjdk21 maven cargo go ruby ruby-bundler docker docker-cli docker-cli-buildx docker-cli-compose nerdctl \
28+
maven gradle nodejs npm pnpm android-tools
29+
probes:
30+
- script: |
31+
#!/bin/bash
32+
set -eux -o pipefail
33+
if ! timeout 30s bash -c "until command -v docker >/dev/null 2>&1; do sleep 3; done"; then
34+
echo >&2 "docker is not installed yet"
35+
exit 1
36+
fi
37+
hint: See "/var/log/cloud-init-output.log". in the guest

contrib/lima/cdxgen-ubuntu.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,9 +64,9 @@ provision:
6464
curl -s "https://get.sdkman.io" | bash
6565
echo -e "sdkman_auto_answer=true\nsdkman_selfupdate_feature=false\nsdkman_auto_env=true\nsdkman_curl_connect_timeout=60\nsdkman_curl_max_time=0" >> /.sdkman/etc/config
6666
source "/.sdkman/bin/sdkman-init.sh"
67-
sdk install maven $MAVEN_VERSION || true
68-
sdk install gradle $GRADLE_VERSION || true
69-
sdk install sbt $SBT_VERSION || true
67+
sdk install maven $MAVEN_VERSION
68+
sdk install gradle $GRADLE_VERSION
69+
sdk install sbt $SBT_VERSION
7070
curl -fsSL https://deb.nodesource.com/setup_23.x -o nodesource_setup.sh
7171
bash nodesource_setup.sh
7272
apt install -y nodejs

0 commit comments

Comments
 (0)