diff options
author | 2021-04-12 18:47:04 +0200 | |
---|---|---|
committer | 2021-04-26 23:28:03 +0000 | |
commit | eba3e6a23105581e7a00ea3e99123ab480e38787 (patch) | |
tree | bfc9e0559f6e577820e27fd9c2fcdbb63fb10843 /components/datalake-handler/des/src | |
parent | 09e6ad9eea88e511de6870b26dfa4b57dec7fcf3 (diff) |
Change datalake-handler baseOS to integration-
des:
- less layers
- user without home, login shell & password
- general tidy-up
- add quotes in run.sh for safety
feeder:
- less layers
- user without home, login shell & password
- general tidy-up
- alpine's find is from busybox and is built without extended regex support.
grep is used for regex.
- adjusted regexes to be more precise
Benefits from switching base image over:
* minimal {java11,python} images maintained by integration team
* using currently "blessed by seccom" versions (:latest tag used)
* should limit spread of legal issues across layers
* integration images will be the first to have automated compliance
documentation
* should limit spread of base layers (contributing to deployment
footprint - more base layers = more to download, more to store etc...)
Issue-ID: INT-1864
Issue-ID: DCAEGEN2-2420
Signed-off-by: Alexander Mazuruk <a.mazuruk@samsung.com>
Change-Id: I02b2b9567680e8a873d13684fd2341339b4bc337
Diffstat (limited to 'components/datalake-handler/des/src')
-rw-r--r-- | components/datalake-handler/des/src/assembly/run.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/components/datalake-handler/des/src/assembly/run.sh b/components/datalake-handler/des/src/assembly/run.sh index e6df159d..c8014d2a 100644 --- a/components/datalake-handler/des/src/assembly/run.sh +++ b/components/datalake-handler/des/src/assembly/run.sh @@ -28,7 +28,7 @@ sh db_init/20_db-initdb echo "finish init db" -cmd=`find . -name des*-execute.jar` +cmd=`find . -name "des*-execute.jar"` if [ -n "$cmd" ]; then java -jar "$cmd" else |