Revert "remove sudo requirement?"

This reverts commit 5229fdb206.
This commit is contained in:
Jason Swank 2023-03-01 10:17:53 -05:00
parent fd08a1f4b9
commit 884d7e7a5a

View File

@ -14,19 +14,16 @@ packages:
tasks: tasks:
- prep: | - prep: |
sudo rc-service cgroups start sudo rc-service cgroups start
sudo modprobe tun sleep 1
# 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
just build sudo -E 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 just publish chpst -e ~/.envdir sudo -E just publish