Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[main] deb, rpm: fix runc using incorrect version #385

Merged
merged 1 commit into from
Aug 8, 2024

Conversation

thaJeztah
Copy link
Member

runc v1.1.13 introduced an option to customize the version (as printed by the --version flag) through a VERSION Make variable / environment variable (see 1).

This variable collided with the VERSION environment variable used by containerd for the same purpose, which lead to runc binaries built using the version of containerd;

runc --version
runc version 1.7.20
commit: v1.1.13-0-g58aa9203
...

This patch explicitly sets the VERSION variable to the version of runc being built when building the binary.

- What I did

- How I did it

- How to verify it

- Description for the changelog

- A picture of a cute animal (not mandatory but encouraged)

runc v1.1.13 introduced an option to customize the version (as printed by the
`--version` flag) through a `VERSION` Make variable / environment variable
(see [1]).

This variable collided with the `VERSION` environment variable used by
containerd for the same purpose, which lead to `runc` binaries built
using the version of containerd;

    runc --version
    runc version 1.7.20
    commit: v1.1.13-0-g58aa9203
    ...

This patch explicitly sets the `VERSION` variable to the version of
runc being built when building the binary.

[1]: opencontainers/runc@6f4d975

Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
@thaJeztah thaJeztah merged commit 8003273 into docker:main Aug 8, 2024
2 checks passed
@thaJeztah thaJeztah deleted the fix_runc_version branch August 8, 2024 10:38
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.

2 participants