deb-mistral/tools/docker/Dockerfile
Brad P. Crochet a298d09e42 Update Dockerfile to use Xenial
The current state of Mistral no longer works on Trusty. This patch
updates to Xenial in order to fix the docker image build.

Change-Id: I2a778d43e2dca8eaa370d5a86008a170ffb98f54
Closes-Bug: #1664030
2017-02-24 10:03:21 -05:00

22 lines
640 B
Docker

FROM ubuntu:16.04
MAINTAINER hardik.parekh@nectechnologies.in
ADD . /opt/stack/mistral
RUN /opt/stack/mistral/tools/docker/Dockerfile_script.sh
EXPOSE 8989
VOLUME ["/opt/stack/mistral"]
VOLUME ["/home/mistral"]
WORKDIR /home/mistral
CMD mistral-server --server all --config-file /home/mistral/mistral.conf
ENV TINI_SHA 066ad710107dc7ee05d3aa6e4974f01dc98f3888
# Use tini as subreaper in Docker container to adopt zombie processes
RUN curl -fsSL https://github.com/krallin/tini/releases/download/v0.5.0/tini-static -o /bin/tini \
&& chmod +x /bin/tini \
&& echo "$TINI_SHA /bin/tini" | sha1sum -c -
ENTRYPOINT ["/bin/tini", "--"]