confidential-containers / trustee

Attestation and Secret Delivery Components
Apache License 2.0
61 stars 81 forks source link

Dockerfile: optimize the KBS image size #416

Closed Xynnn007 closed 3 months ago

Xynnn007 commented 3 months ago

Raised by @BbolroC , KBS image now is ~1GB size, which is not as expected. We should give the images weight loss

$ docker images
REPOSITORY                                          TAG             IMAGE ID       CREATED       SIZE
ghcr.io/confidential-containers/staged-images/kbs   latest          38b0f396610c   8 hours ago   1.03GB
ghcr.io/confidential-containers/staged-images/kbs   latest-s390x    38b0f396610c   8 hours ago   1.03GB
ghcr.io/confidential-containers/staged-images/kbs   latest-x86_64   701b51f1e270   8 hours ago   1.08GB