-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
Switch to new containerd version - v1.7.11 #3475
Conversation
While we are at it, ability to set the desired containerd version in the make file itself, rather than hardcoding in the Dockerfile Signed-off-by: Davanum Srinivas <davanum@gmail.com>
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dims The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
FROM go-build as build-containerd | ||
ARG TARGETARCH GO_VERSION | ||
ARG CONTAINERD_VERSION="v1.7.5" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is inconsistent with every other version in the file ..?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
i was mirroring ARG GO_VERSION
in line 113 above.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
why don't keep the default version here?
Also, what is the benefit, this is more a personal commodity no? I don't imaging now we are going to release multiple images with different containerd versions
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@aojea this is to test newer versions of containerd in CI :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, we don't want to release multiple images, we just ship with whatever version is in Makefile instead of in Dockerfile
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The go version had to be moved out for consistency with the rest of the repo, but the containerd version only exists here.
You can already do EXTRA_BUILD_OPT
to pass additional args to the dockerfile (IIRC we even have a note in the README?), and we can already PR updates to the CONTAINERD_VERSION.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ack, was trying to make it more obvious/explicit with this PR. will just try to use EXTRA_BUILD_OPT
/assign @BenTheElder @aojea |
While we are at it, ability to set the desired containerd version in the make file itself, rather than hardcoding in the Dockerfile