diff options
| author | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 15:34:57 -0400 |
|---|---|---|
| committer | Eugene Triguba <hello@eugenetriguba.com> | 2025-10-10 15:34:57 -0400 |
| commit | 233633a541331182361e30a6a83c32fd68cf2782 (patch) | |
| tree | f501925bbcbb91ce5b98f7a997768a62518941b7 | |
| parent | Quote env variable cat in test-postgresql (diff) | |
| download | cli-233633a541331182361e30a6a83c32fd68cf2782.zip | |
Use shell script from docker to install rootless docker
| -rw-r--r-- | .build.yml | 13 |
1 files changed, 2 insertions, 11 deletions
@@ -3,25 +3,16 @@ packages: - go - docker - docker-cli-compose - - docker-rootless-extras - - fuse-overlayfs - - shadow-uidmap sources: - https://git.sr.ht/~eugenetriguba/bolt tasks: - setup: | - USERNAME=$(whoami) - echo "$USERNAME:100000:65536" | sudo tee -a /etc/subuid - echo "$USERNAME:100000:65536" | sudo tee -a /etc/subgid + curl -fsSL https://get.docker.com/rootless | sh cat >> ~/.docker_env << 'EOF' - export XDG_RUNTIME_DIR=$HOME/.docker/run + export PATH=$HOME/bin:$PATH export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock EOF - source ~/.docker_env - mkdir -p $XDG_RUNTIME_DIR - dockerd-rootless --storage-driver=fuse-overlayfs --rootless-net=none & - - test-sqlite3: | cd bolt source ~/.docker_env |