Bug 1845345: Fix building multi-stage image that has a --from=X#166
Conversation
- Bump github.com/openshift/source-to-image to v1.3.0 to address dependency skews which prove problematic for go.mod. - Pin github.com/containerd/containerd to v1.3.6 to resolve transitive dependencies on v0.y versions of containerd/containerd. - Switch github.com/docker/docker back to using an upstream pseudo-version that aligns better with containers/image. - Pin golag.org/x/crypto to ensure dependencies include fix for CVE-2020-9283. - Bump github.com/containers/buildah to v1.14.10 to include fix for Bug 1845345, along with its dependencies: - github.com/containers/conmon to v0.8.4 - github.com/containers/image/v5 to v5.4.3 - github.com/containers/storage to v1.18.2 - github.com/openshift/imagebuilder to v1.1.4
|
@adambkaplan: This pull request references Bugzilla bug 1845345, which is invalid:
Comment DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/bugzilla refresh |
|
@adambkaplan: This pull request references Bugzilla bug 1845345, which is valid. The bug has been moved to the POST state. The bug has been updated to refer to the pull request using the external bug tracker. 6 validation(s) were run on this bug
DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
|
/assign @TomSweeneyRedHat |
| github.com/containerd/containerd => github.com/containerd/containerd v0.2.10-0.20180716142608-408d13de2fbb | ||
| github.com/docker/docker => github.com/openshift/moby-moby v1.4.2-0.20190308215630-da810a85109d | ||
| github.com/containerd/containerd => github.com/containerd/containerd v1.3.6 | ||
| github.com/docker/docker => github.com/docker/docker v0.0.0-20190404075923-dbe4a30928d4 |
There was a problem hiding this comment.
containerd/containerd needs to be replaced because there are transitive dependencies which reference different versions that conflict. The 1.3.6 version is a more recent tag that resolves the conflicts.
docker/docker is moved to an upstream version with a pseudo-version that replace can resolve. We don't need the OpenShift fork any more as this has drifted from what buildah uses.
| github.com/moby/buildkit => github.com/dmcgowan/buildkit v0.0.0-20170731200553-da2b9dc7dab9 | ||
| github.com/opencontainers/runtime-tools => github.com/opencontainers/runtime-tools v0.8.0 | ||
| // CVE-2020-9283 fix | ||
| golang.org/x/crypto => golang.org/x/crypto v0.0.0-20200220183623-bac4c82f6975 |
There was a problem hiding this comment.
We pull in the vulnerable ssh code, therefore we need to bump this to a patched version.
|
LGTM |
|
Still needs LGTM label. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: adambkaplan, gabemontero, otaviof The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
/retitle Bug 1845345: Fix building multi-stage image that has a --from=X |
|
@adambkaplan: All pull requests linked via external trackers have merged: openshift/builder#166. Bugzilla bug 1845345 has been moved to the MODIFIED state. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
skews which prove problematic for go.mod.
dependencies on v0.y versions of containerd/containerd.
aligns better with containers/image.
along with its dependencies: