-
Notifications
You must be signed in to change notification settings - Fork 61
Open
Labels
bugSomething isn't workingSomething isn't workingknown issueThis is a known issue of the latest releaseThis is a known issue of the latest release
Description
Issue description
The build process for the constellation binary is not deterministic.
The CLI embeds an OCI image manifest hash for ghcr.io/edgelesssys/constellation/qemu-metadata-api. One of the layers consists of files from the Nix store. Depending on the optimisation settings of the Nix store, some files may or may not be hard links to others, resulting in a diff in the layer tarball.
Workaround: try to stick close to the reproducible builds workflow.
Steps to reproduce the behavior
- Start a new Ubuntu 24.04 VM.
- Install Bazel (e.g. download binary from Github releases).
- Install Nix with the https://github.com/DeterminateSystems/nix-installer (which configures
auto-optimise-store = true). - Clone the repo and check out a released tag.
- Build the CLI (e.g.
bazel build //cli:cli_enterprise_linux_amd64). - Compare to the released binary.
Version
This affects v2.19.0 and older releases.
msanft
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingknown issueThis is a known issue of the latest releaseThis is a known issue of the latest release