Add some comments
This commit is contained in:
parent
bc758f8c86
commit
2e29897aab
@ -12,13 +12,22 @@ packages:
|
|||||||
- runit
|
- runit
|
||||||
|
|
||||||
tasks:
|
tasks:
|
||||||
|
# add the "build" user to the docker group
|
||||||
|
# start the docker service
|
||||||
|
# briefly pause to allow the docker service to fully start
|
||||||
- prep: |
|
- prep: |
|
||||||
sudo addgroup build docker
|
sudo addgroup build docker
|
||||||
sudo rc-service docker start
|
sudo rc-service docker start
|
||||||
sleep 4
|
sleep 4
|
||||||
|
|
||||||
|
# build the image using the just recipe
|
||||||
- build: |
|
- build: |
|
||||||
cd alpine-cli
|
cd alpine-cli
|
||||||
just build
|
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: |
|
- publish: |
|
||||||
cd alpine-cli
|
cd alpine-cli
|
||||||
chpst -e ~/.envdir just publish
|
chpst -e ~/.envdir just publish
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user