Closed mathieu-benoit closed 5 months ago
Deployment ID: 17d4571840236c19
my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog
Not merging this for now for 2 reasons:
noble-chiseled
? When adding this RUN apt install -y clang zlib1g-dev
in the Dockerfile
, getting this error: Unable to locate package clang
.40.9 MB
, here it's now 114 MB
... too big... I understand that the number of packages (not alpine/buybox based is more secure) but want to keep the size small for now...Wow, actually Aot is apparently supported by noble-chiseled
, based on this: https://github.com/dotnet/dotnet-docker/blob/main/samples/releasesapi/Dockerfile.ubuntu-chiseled, even if it's in nightly
container images. Now the size on disk is 42.4 MB
, which is quite similar to the previous one based on alpine
.
Deployment ID: 17d45b3638288ebf
my-sample-workload: helloworld-preview.endpoints.mathieu-benoit-gcp.cloud.goog
Moving from
alpine
tochiseled
(i.e.distroless
).Resources:
Todos:
make compose-test
make k8s-test
humctl score deploy
noble
(Ubuntu 24.04) versusjammy
(Ubuntu 22.04) -->noble
is LTSnightly
container images (for the support of-aot
) --aot
are in Preview for now, but I can live with this, because of all the benefits (size, etc.)Size (+1.5 MB)
40.9 MB
42.4 MB
--> +1.5 MB
, I can live with this, that's for sure! ;)Packages (-11 packages)
Note:
syft
was used.Before:
After:
CVEs (+2
LOW
and -4MEDIUM
)Note:
trivy
was used.Before:
After: