Allow to run on read only root fs 48/109548/4
authorSylvain Desbureaux <sylvain.desbureaux@orange.com>
Thu, 25 Jun 2020 12:13:58 +0000 (14:13 +0200)
committerIkram Ikramullah <ikram@research.att.com>
Wed, 12 Aug 2020 20:09:00 +0000 (20:09 +0000)
commit2e8e7df185b499d633f112fdf1d07ff5eb1dbf82
tree5aa5afd5e8b55c34bff999c867ff56de280ef718
parent32af6479c686d217204de3a86940ac1256da4b9f
Allow to run on read only root fs

In order to be able to run on read only root fs, two changes have been
done:

* unpack tomcat war at container creation
* launch the property file configuration conditionnally

If "ON_KUBERNETES" environment variable is set to "TRUE" (default is
"FALSE" for backward compatibility), the proper have to be set at boot
via configmap on Kubernetes for example.

Changes are backward compatible and shouldn't change actual behavior per
default.

Issue-ID: VID-850
Signed-off-by: Sylvain Desbureaux <sylvain.desbureaux@orange.com>
Change-Id: I6f96e2ca55093ee899be18d6ce4c2dfd7c1a5792
deliveries/src/main/docker/docker-files/Dockerfile
deliveries/src/main/scripts/localize.sh