aboutsummaryrefslogtreecommitdiffstats
path: root/packages/policy-pap-tarball/src/main/package/tarball
diff options
context:
space:
mode:
authordanielhanrahan <daniel.hanrahan@est.tech>2022-07-01 14:05:57 +0100
committerdanielhanrahan <daniel.hanrahan@est.tech>2022-07-13 11:47:48 +0100
commitbec30e3091fad4278cb29811b0d40d3375cd1565 (patch)
treec1055811cc3e0400f3e9a0c868fef76d70cd35ec /packages/policy-pap-tarball/src/main/package/tarball
parentb8d1daba56496ea03933090b1ccc46a79919684e (diff)
Reduce size of docker images for PAP
Remove unused jar files from image (not needed since spring boot) Avoid creating extra layers when extracting tarball Reduce size of Alpine image by 73% (959MB to 259MB) Reduce size of OpenSuse image by 62% (1.12GB to 423MB) Issue-ID: POLICY-4266 Signed-off-by: danielhanrahan <daniel.hanrahan@est.tech> Change-Id: I5a0a3efc81b0cb8da899c12f65479fd2af935451
Diffstat (limited to 'packages/policy-pap-tarball/src/main/package/tarball')
-rw-r--r--packages/policy-pap-tarball/src/main/package/tarball/assembly.xml11
1 files changed, 0 insertions, 11 deletions
diff --git a/packages/policy-pap-tarball/src/main/package/tarball/assembly.xml b/packages/policy-pap-tarball/src/main/package/tarball/assembly.xml
index 72830bcb..21350283 100644
--- a/packages/policy-pap-tarball/src/main/package/tarball/assembly.xml
+++ b/packages/policy-pap-tarball/src/main/package/tarball/assembly.xml
@@ -26,17 +26,6 @@
<format>tar.gz</format>
</formats>
<includeBaseDirectory>false</includeBaseDirectory>
- <dependencySets>
- <dependencySet>
- <useProjectArtifact>true</useProjectArtifact>
- <outputDirectory>${file.separator}lib</outputDirectory>
- <unpack>false</unpack>
- <scope>runtime</scope>
- <includes>
- <include>*:jar</include>
- </includes>
- </dependencySet>
- </dependencySets>
<fileSets>
<fileSet>
<directory>${project.basedir}/src/main/resources/etc