Michael Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 1 | #!/bin/sh |
| 2 | |
| 3 | export CHEFNAME=${ENVNAME} |
| 4 | cd /root/chef-solo |
| 5 | echo "normal['HOST_IP'] = \"${HOST_IP}\"" > /root/chef-solo/cookbooks/sdc-catalog-fe/attributes/default.rb |
| 6 | chef-solo -c solo.rb -E ${CHEFNAME} |
| 7 | |
Tal Gitelman | ba22923 | 2017-08-07 17:59:54 +0300 | [diff] [blame] | 8 | sed -i '/^set -e/aJAVA_OPTIONS=\"-XX:MaxPermSize=256m -Xmx1500m -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 Lando | 451a340 | 2017-02-19 10:28:42 +0200 | [diff] [blame] | 9 | sed -i '/^set -e/aTMPDIR=${JETTY_BASE}\/temp' /docker-entrypoint.sh |
| 10 | |
| 11 | cd /var/lib/jetty |
| 12 | /docker-entrypoint.sh |
ml636r | 0649e65 | 2017-02-20 21:10:54 +0200 | [diff] [blame] | 13 | |