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:
parent
cda0680aae
commit
640bbdb7e4
18
translator/container/docker/dockerfile
Normal file
18
translator/container/docker/dockerfile
Normal 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"]
|
||||
|
Loading…
Reference in New Issue
Block a user