1f9c4d0a21
Now Shaker can be run in Docker container! The container does the whole work: it creates image, runs the scenario and cleans everything up. Change-Id: I9cbcb7e79d08f9526cf1ee8f3ccafab34d3935c2
14 lines
298 B
Docker
14 lines
298 B
Docker
FROM python:3.5
|
|
MAINTAINER Ilya Shakhat <shakhat@gmail.com>
|
|
|
|
ADD . /opt/shaker/
|
|
RUN pip install -r /opt/shaker/requirements.txt
|
|
WORKDIR /opt/shaker/
|
|
RUN python setup.py install
|
|
|
|
VOLUME /artifacts
|
|
|
|
STOPSIGNAL SIGTERM
|
|
|
|
ENTRYPOINT ["/usr/local/bin/shaker-all-in-one", "--artifacts-dir", "/artifacts"]
|