aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-10-10 18:17:21 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-10-10 18:17:21 -0400
commitabc4e88c40605d661f076460d7346b4f58c64cce (patch)
tree0ffb7f42021b9edef64c0d367a445bc4d126c073
parentRevert "Fix go package name on debian" (diff)
downloadcli-abc4e88c40605d661f076460d7346b4f58c64cce.zip
Revert "Use debian and start docker"
This reverts commit f7cf306f569c29d860c1a99193f1caddb3a1e42e.
-rw-r--r--.build.yml12
1 files changed, 8 insertions, 4 deletions
diff --git a/.build.yml b/.build.yml
index d637aca..edbd13c 100644
--- a/.build.yml
+++ b/.build.yml
@@ -1,13 +1,17 @@
-image: debian/stable
+image: alpine/3.22
packages:
- go
- - docker.io
- - docker-compose
+ - docker
+ - docker-cli-compose
sources:
- https://git.sr.ht/~eugenetriguba/bolt
tasks:
- setup: |
- sudo dockerd > /dev/null 2>&1 &
+ # Start Docker daemon for running test containers
+ # --bip 172.18.0.1/16 is a networking workaround for builds.sr.ht
+ # See: https://todo.sr.ht/~sircmpwn/builds.sr.ht/223
+ sudo nohup dockerd --bip 172.18.0.1/16 &
+ sleep 10
- test: |
cd bolt
./scripts/test.sh