mirror of
https://github.com/docker/compose.git
synced 2025-07-21 12:44:54 +02:00
commit
c37dc558fb
@ -1,6 +1,5 @@
|
|||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
|
RUN apt-get update -qq && apt-get install -qy python python-pip python-dev git
|
||||||
RUN useradd -d /home/user -m -s /bin/bash user
|
|
||||||
|
|
||||||
WORKDIR /code/
|
WORKDIR /code/
|
||||||
|
|
||||||
@ -12,6 +11,3 @@ RUN pip install -r requirements-dev.txt
|
|||||||
|
|
||||||
ADD . /code/
|
ADD . /code/
|
||||||
RUN python setup.py install
|
RUN python setup.py install
|
||||||
|
|
||||||
RUN chown -R user /code/
|
|
||||||
USER user
|
|
||||||
|
15
wercker.yml
Normal file
15
wercker.yml
Normal file
@ -0,0 +1,15 @@
|
|||||||
|
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
|
Loading…
x
Reference in New Issue
Block a user