blob: 82aef0b352953ced35e95d8cccbcb936ff5e2fab [file] [log] [blame]
Michael Lando451a3402017-02-19 10:28:42 +02001#!/bin/sh
2
3export CHEFNAME=${ENVNAME}
4cd /root/chef-solo
5echo "normal['HOST_IP'] = \"${HOST_IP}\"" > /root/chef-solo/cookbooks/sdc-catalog-fe/attributes/default.rb
6chef-solo -c solo.rb -E ${CHEFNAME}
7
Idan Amit2c285722017-12-29 09:40:43 +02008sed -i '/^set -e/aJAVA_OPTIONS=\" -Xdebug -agentlib:jdwp=transport=dt_socket,address=6000,server=y,suspend=n -XX:MaxPermSize=256m -Xmx512m -Dconfig.home=${JETTY_BASE}\/config -Dlog.home=${JETTY_BASE}\/logs -Dlogback.configurationFile=${JETTY_BASE}\/config\/catalog-fe\/logback.xml -Dconfiguration.yaml=${JETTY_BASE}\/config\/catalog-fe\/configuration.yaml -Donboarding_configuration.yaml=${JETTY_BASE}\/config\/onboarding-fe\/onboarding_configuration.yaml\"' /docker-entrypoint.sh
Michael Lando451a3402017-02-19 10:28:42 +02009sed -i '/^set -e/aTMPDIR=${JETTY_BASE}\/temp' /docker-entrypoint.sh
10
11cd /var/lib/jetty
12/docker-entrypoint.sh
ml636r0649e652017-02-20 21:10:54 +020013