Commit 51419c6a authored by Spiros Koulouzis's avatar Spiros Koulouzis

added docker for provisioner

parent b88334e8
FROM openjdk:11
COPY target/drip-provisioner-3.0.0-jar-with-dependencies.jar drip-provisioner-3.0.0-jar-with-dependencies.jar
COPY etc/ etc
CMD jar -xf drip-provisioner-3.0.0-jar-with-dependencies.jar application.properties && \
sed -ie "s/^message.broker.host=.*/message.broker.host=$RABBITMQ_HOST/" application.properties && \
sed -ie "s/^sure-tosca.base.path=.*/sure-tosca.base.path=$SURE_TOSCA_BASE_PATH/" application.properties && \
cat application.properties && \
jar -uf drip-provisioner-3.0.0-jar-with-dependencies.jar application.properties && \
java -jar drip-provisioner-3.0.0-jar-with-dependencies.jar
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment