From ac0aaec80d35360342dcf4b99ca16cf2c77aeb4e Mon Sep 17 00:00:00 2001 From: Jason Swank Date: Wed, 1 Mar 2023 14:04:31 -0500 Subject: [PATCH] complete conversion to podman --- .build.yml | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/.build.yml b/.build.yml index c299576..9d05869 100644 --- a/.build.yml +++ b/.build.yml @@ -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