From 6b6714761b2cc85c8e28d0cd4df40c90376e06d3 Mon Sep 17 00:00:00 2001 From: alesapin Date: Mon, 23 Sep 2019 15:20:08 +0300 Subject: [PATCH] Also pack config into shared archive --- docker/packager/binary/build.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docker/packager/binary/build.sh b/docker/packager/binary/build.sh index ed30feb8cb7..b5c50763b17 100755 --- a/docker/packager/binary/build.sh +++ b/docker/packager/binary/build.sh @@ -18,6 +18,10 @@ find . -name '*.so.*' -print -exec mv '{}' /output \; count=`ls -1 /output/*.so 2>/dev/null | wc -l` if [ $count != 0 ] then + mkdir -p /output/config + cp ../dbms/programs/server/config.xml /output/config + cp ../dbms/programs/server/users.xml /output/config + cp -r ../dbms/programs/server/config.d /output/config tar -czvf shared_build.tgz /output rm -r /output/* mv shared_build.tgz /output