Changed Dockerfile to run as root so it has access to /var/run/docker.sock. Signed-off-by: Ben Firshman <ben@firshman.co.uk>
15 lines
428 B
YAML
15 lines
428 B
YAML
box: wercker-labs/docker
|
|
build:
|
|
steps:
|
|
- script:
|
|
name: validate DCO
|
|
code: script/validate-dco
|
|
- script:
|
|
name: build
|
|
code: docker build -t fig .
|
|
- script:
|
|
name: flake8
|
|
code: docker run -v /var/run/docker.sock:/var/run/docker.sock fig flake8 fig
|
|
- script:
|
|
name: run tests
|
|
code: docker run -v /var/run/docker.sock:/var/run/docker.sock fig nosetests
|