Modify Dockerfile2

pull/1076/head
Dmitry Pavlov 5 years ago
parent 61322e52d9
commit cafb2acc3d

@ -3,12 +3,5 @@ steps:
command: docker build --tag diagrams:1.0 -f ./docker/dev/Dockerfile .
- wait
- label: 'Run tests'
command: docker run --rm diagrams:1.0 python -m unittest tests/*.py -v
- wait
- label: 'Autogen classes'
command: docker run --rm diagrams:1.0 ./autogen.sh
- label: 'Build dist image and publish'
command: docker build --tag diagrams-build:1.0 -f ./docker/dev/Dockerfile2 .

@ -6,6 +6,10 @@ RUN pip install --user poetry
WORKDIR /usr/src/diagrams
RUN python -m unittest tests/*.py -v
RUN ./autogen.sh
RUN /root/.local/bin/poetry build
RUN curl -v -u deployment:deployment123\

Loading…
Cancel
Save