remove sudo requirement?

This commit is contained in:
Jason Swank 2023-03-01 10:07:31 -05:00
parent 9bbbaeaed0
commit 5229fdb206

View File

@ -14,16 +14,19 @@ packages:
tasks: tasks:
- prep: | - prep: |
sudo rc-service cgroups start 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 the image using the just recipe
- build: | - build: |
cd alpine-cli cd alpine-cli
sudo -E just build just build
# set environment variables from the ~/.envdir directory # set environment variables from the ~/.envdir directory
# see http://smarden.org/runit/chpst.8.html for details on chpst # see http://smarden.org/runit/chpst.8.html for details on chpst
# publish the image using the just recipe # publish the image using the just recipe
- publish: | - publish: |
cd alpine-cli cd alpine-cli
chpst -e ~/.envdir sudo -E just publish chpst -e ~/.envdir just publish