Skip to content

Using a more lightweight final stage layer for container builds #321

Description

@SpaceFace02

Currently we are using
FROM quay.io/fedora/fedora:43

https://github.com/trusted-execution-clusters/operator/blob/main/Containerfile#L32

We could investigate other more lightweight final stage build layers, because all we have running is a rust binary (which needs minimal dependencies (glibc, openssl etc). We might not need a package manager or a shell (assuming we have a better observability platform and a better way to capture logs) etc.

Examples:

https://catalog.redhat.com/en/software/base-images
https://github.com/googlecontainertools/distroless

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions