complete conversion to podman
This commit is contained in:
parent
884d7e7a5a
commit
ac0aaec80d
12
.build.yml
12
.build.yml
@ -12,18 +12,22 @@ packages:
|
|||||||
- runit
|
- runit
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
# cgroups need to be running in order to run podman
|
||||||
- prep: |
|
- prep: |
|
||||||
sudo rc-service cgroups start
|
sudo rc-service cgroups start
|
||||||
sleep 1
|
sleep 1
|
||||||
|
|
||||||
# build the image using the just recipe
|
# build the image using the just recipe
|
||||||
|
# - sudo (-u root) is required to run podman without more setup
|
||||||
- build: |
|
- build: |
|
||||||
cd alpine-cli
|
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
|
# 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: |
|
- publish: |
|
||||||
cd alpine-cli
|
cd alpine-cli
|
||||||
chpst -e ~/.envdir sudo -E just publish
|
chpst -e ~/.envdir sudo --preserve-env just publish
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user