aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.build.yml3
1 files changed, 3 insertions, 0 deletions
diff --git a/.build.yml b/.build.yml
index 493e3e5..a8eae22 100644
--- a/.build.yml
+++ b/.build.yml
@@ -9,6 +9,9 @@ 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
cat >> ~/.docker_env << 'EOF'
export XDG_RUNTIME_DIR=$HOME/.docker/run
export DOCKER_HOST=unix://$XDG_RUNTIME_DIR/docker.sock