diff options
author | danielhanrahan <daniel.hanrahan@est.tech> | 2022-07-08 15:52:48 +0100 |
---|---|---|
committer | danielhanrahan <daniel.hanrahan@est.tech> | 2022-07-13 12:17:33 +0100 |
commit | b33cb6c38637ffff8483f8b15763183abdbd5497 (patch) | |
tree | 7e482929f35a778a8a04d50d3fdc27b66821dfa0 /packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml | |
parent | 82b4df0ab1dd63489d378b7f175d3b5fcccb541b (diff) |
Reduce size of docker images for XACML-PDP
Avoid creating extra layers when extracting tarball
Remove redundant chown/chmod commands
Reduce size of Alpine image by 32% (379MB to 259MB)
Reduce size of OpenSuse image by 23% (546MB to 423MB)
Issue-ID: POLICY-4273
Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech>
Change-Id: I5b141b27d9db855c0b624612a54fc525845a02d7
Diffstat (limited to 'packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml')
-rw-r--r-- | packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml b/packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml index 354b12a7..8a8c1544 100644 --- a/packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml +++ b/packages/policy-xacmlpdp-tarball/src/main/package/tarball/assembly.xml @@ -68,6 +68,7 @@ </includes> <outputDirectory>${file.separator}mysql${file.separator}bin</outputDirectory> <lineEnding>unix</lineEnding> + <fileMode>0755</fileMode> </fileSet> <fileSet> <directory>${project.basedir}/src/main/resources/mysql/sql @@ -86,6 +87,7 @@ </includes> <outputDirectory>${file.separator}postgres${file.separator}bin</outputDirectory> <lineEnding>unix</lineEnding> + <fileMode>0755</fileMode> </fileSet> <fileSet> <directory>${project.basedir}/src/main/resources/postgres/sql |