Improve the instructions for starting the worker on the build node.
This commit is contained in:
parent
1e8ec634e2
commit
91da26e317
1 changed files with 9 additions and 1 deletions
|
@ -20,6 +20,14 @@ sudo chown -R 100000:100000 /var/lib/docker
|
|||
sudo shutdown -r now
|
||||
```
|
||||
|
||||
pull some base images if you want (optional)
|
||||
```
|
||||
sudo docker pull ubuntu
|
||||
sudo docker pull stackbrew/ubuntu
|
||||
sudo docker pull busybox
|
||||
sudo docker pull lopter/raring-base
|
||||
```
|
||||
|
||||
start the worker
|
||||
|
||||
```
|
||||
|
@ -27,5 +35,5 @@ cd quay
|
|||
virtualenv --distribute venv
|
||||
source venv/bin/activate
|
||||
pip install -r requirements.txt
|
||||
STACK=prod python -m workers.dockerfilebuild -D
|
||||
sudo STACK=prod venv/bin/python -m workers.dockerfilebuild -D
|
||||
```
|
||||
|
|
Reference in a new issue