-
Start Docker (via boot2docker)
-
Grab the fork of Drone that runs as privileged user
go get -d github.com/vito/drone pushd $GOPATH/src/github.com/vito/drone git fetch -all git checkout privileged-builds popd mkdir -p $GOPATH/src/github.com/drone mv $GOPATH/src/github.com/vito/drone !$/drone
-
Build drone
goto drone/drone make deps make mv $PWD/bin/* $GOPATH/bin
-
Make sure you have the latest inigo-ci image:
docker pull cloudfoundry/inigo-ci
-
Run the tests
goto inigo ./scripts/dev-test
To update the root-fs that the containers use:
```
git clone https://github.com/cloudfoundry/stacks
pushd stacks
git checkout docker
popd
```
And follow the instructions in stacks/README.md
These also include instructions for updating the inigo-ci docker image. These are reproduced here:
```
goto inigo
make
/scripts/dev-test
docker push cloudfoundry/inigo-ci
```
To modify what goes into the docker image update the Dockerfile
in the inigo repo.
Walk through ./scripts/*
and patern-match your way to victory