Add sample dockerfile to build translator container

The file content can be copied as is to Dockerfile and use to build a heat
translator docker container.

Change-Id: I32fa7bd9def0842a053c4c61e7f6652db4c16967
Co-Authored-By: Eduardo Patrocinio <epatro@gmail.com>
This commit is contained in:
Sahdev Zala 2017-03-09 11:42:44 -08:00
parent cda0680aae
commit 640bbdb7e4

View File

@ -0,0 +1,18 @@
# Sample Dockerfile that can be use to build heat-translator docker container
FROM ubuntu
MAINTAINER Heat Translator contributors
RUN apt-get -y update && apt-get install -y \
python-pip
RUN pip install heat-translator
COPY heat_translator_logging.conf /usr/local/lib/python2.7/dist-packages/translator/conf/
# Have some test TOSCA templates in my_tosca directory to copy to the container as an example.
# This is an optional step and can be removed.
COPY my_tosca /tmp/my_tosca
ENTRYPOINT ["heat-translator"]