Reduce cassandra-init image 01/143601/4
authorFiete Ostkamp <fiete.ostkamp@telekom.de>
Thu, 12 Mar 2026 12:49:36 +0000 (13:49 +0100)
committerLukasz Rajewski <lukasz.rajewski@t-mobile.pl>
Fri, 13 Mar 2026 10:34:15 +0000 (10:34 +0000)
commit901389cfb8813ae70a9f3e092ddcf8de38c68003
treedbb7d2d3314829ddccce08dbff4c539527f7124e
parente1ae5b0b702b3e957f8a634b30a23ab521348d39
Reduce cassandra-init image

- remove unnecessary packages (libffi,libxml,curl,perl,npt,apt-transport)
- reduce sdctool.tar archive size (440MB -> 185MB) by excluding artifacts
  that are not used in the init image (zusammen-tools)
- extract sdctool.tar in separate stage to avoid it being saved as it's own
  image layer
- reduces image size from 2.7GB to 750MB

Issue-ID: SDC-4803
Change-Id: I129052200c76906034b6c0ddb89b29ca1dddd89a
Signed-off-by: Fiete Ostkamp <fiete.ostkamp@telekom.de>
.gitignore
asdctool/sdc-cassandra-init/Dockerfile
asdctool/tarball.xml
pom.xml