From 5229fdb206fa201bb1ca1357208880f9c5a7e53b Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Wed, 1 Mar 2023 10:07:31 -0500 Subject: [PATCH] remove sudo requirement? --- .build.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.build.yml b/.build.yml index b381ed9..6a17c2b 100644 --- a/.build.yml +++ b/.build.yml @@ -14,16 +14,19 @@ packages: tasks: - prep: | sudo rc-service cgroups start - sleep 4 + # sudo modprobe tun + # echo tun >>/etc/modules + sudo sh -c 'echo build:100000:65536 >/etc/subuid' + sudo sh -c 'echo build:100000:65536 >/etc/subgid' # build the image using the just recipe - build: | cd alpine-cli - sudo -E just build + just build # set environment variables from the ~/.envdir directory # see http://smarden.org/runit/chpst.8.html for details on chpst # publish the image using the just recipe - publish: | cd alpine-cli - chpst -e ~/.envdir sudo -E just publish + chpst -e ~/.envdir just publish