complete conversion to podman

This commit is contained in:
Jason Swank 2023-03-01 14:04:31 -05:00
parent 884d7e7a5a
commit ac0aaec80d

View File

@ -12,18 +12,22 @@ packages:
- runit
tasks:
# cgroups need to be running in order to run podman
- prep: |
sudo rc-service cgroups start
sleep 1
# build the image using the just recipe
# - sudo (-u root) is required to run podman without more setup
- build: |
cd alpine-cli
sudo -E just build
sudo --preserve-env 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
# - set environment variables from the ~/.envdir directory. see
# http://smarden.org/runit/chpst.8.html for details on chpst
# - sudo (-u root) is required to run podman without more setup
# - sudo --preserve-env is required to pass environment variables
- publish: |
cd alpine-cli
chpst -e ~/.envdir sudo -E just publish
chpst -e ~/.envdir sudo --preserve-env just publish