Skip to content

[1.6] containerd is unbuildable without go module proxy #9969

@cpuguy83

Description

@cpuguy83

Description

containerd 1.6 is currently unbuildable due to a transient dependency on the github.com/mitchellh/osext module.
This module has been removed by Mitchell.
Its still available in the go module proxy but GOPROXY=direct makes it unbuildable.

Steps to reproduce the issue

  1. git checkout release/1.6
  2. make binaries GOPROXY=direct

Describe the results you received and expected

The build fails (assuming you dont have the module cached locally) due to the module being gone.

go: github.com/containerd/[email protected] requires
	github.com/containerd/[email protected] requires
	github.com/Microsoft/[email protected] requires
	github.com/containerd/[email protected] requires
	github.com/Microsoft/hcsshim/[email protected] requires
	github.com/docker/[email protected] requires
	github.com/mitchellh/[email protected]: invalid version: git ls-remote -q origin in /go/pkg/mod/cache/vcs/94ed57c5b21c953d93b47487113db43a5c9b69fd990329ec70dc77348c4dd443: exit status 128:
	fatal: could not read Username for 'https://github.com'/: terminal prompts disabled

What version of containerd are you using?

1.6

Any other relevant information

No response

Show configuration if it is related to CRI plugin.

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions