Skip to content

Conversation

@rucoder
Copy link
Contributor

@rucoder rucoder commented Mar 28, 2025

@rucoder rucoder requested a review from deitch March 28, 2025 08:04

# needed for cargo-chef and cargo-sbom, as well as many other compilations
RUN apk add musl-dev linux-headers make clang mold python3 git
RUN apk add musl-dev linux-headers make clang mold python3 git perl protoc
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we maybe just include it in the builder container for vector? or could other rust-based EVE parts benefit from this components?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@europaul this is what I do now but we must not call apk add in the container this is why I add it here.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@europaul another way is to also use eve-alpine to get tools but i do not want to do it now. it would require PRs in eve which do not make sense for POC

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but I thought we can include them in the "build" stage of vector's dockerfile

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@europaul we shouldn't. The container will be built under LK and the build will not be reproducible. Alpine can have version of the tool updated between builds.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

but you fix the version of alpine some place and then the packages' versions are also fixed. or am I wrong?

- this is done to build vector for EVE which pins version 1.85
- also add perl and protoc required by vector build
- bump up cargo-chef version

Signed-off-by: Mikhail Malyshev <mike.malyshev@gmail.com>
@rucoder rucoder force-pushed the rucoder/1.85.1-upgrade branch from fa60978 to 4fdabff Compare March 28, 2025 10:10
@rucoder rucoder merged commit 5acc240 into lf-edge:main Mar 28, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants