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

Not able to build Notation project from source #562

Closed
Manas23601 opened this issue Feb 19, 2023 · 1 comment · Fixed by #563
Closed

Not able to build Notation project from source #562

Manas23601 opened this issue Feb 19, 2023 · 1 comment · Fixed by #563
Assignees
Labels
bug Something isn't working
Milestone

Comments

@Manas23601
Copy link

What is the areas you experience the issue in?

Notation CLI

What is not working as expected?

After following the instructions to install notary from source. I'm unable to view the new changes while running docker --help.

What did you expect to happen?

I'm failing to see the following in docker --help

Management Commands:
  generate*   Generate artifacts (CNCF Notary Project, 0.1.0)
  notation*   Manage signatures on Docker images (CNCF Notary Project, 0.5.3-alpha)

How can we reproduce it?

Follow the instructions to build from source

Describe your environment

Installation method:Git
OS: Ubuntu 22.04
Shell: bash
Golang Version : 20.1

What is the version of your Notation CLI or Notation Library?

Notation: Notary v2, A tool to sign, store, and verify artifacts.

Version:     v1.0.0-rc.1+unreleased
Go version:  go1.20
Git commit:  f463f0cb16753d5e398b3bb2d6e26a0e23e519c7

go.mod file

module github.com/notaryproject/notation

go 1.19

require (
	github.com/docker/docker-credential-helpers v0.7.0
	github.com/notaryproject/notation-core-go v1.0.0-rc.1
	github.com/notaryproject/notation-go v1.0.0-rc.1.0.20230203031935-510def1a3f48
	github.com/opencontainers/go-digest v1.0.0
	github.com/opencontainers/image-spec v1.1.0-rc2
	github.com/sirupsen/logrus v1.9.0
	github.com/spf13/cobra v1.6.1
	github.com/spf13/pflag v1.0.5
	oras.land/oras-go/v2 v2.0.0
)

require (
	github.com/Azure/go-ntlmssp v0.0.0-20221128193559-754e69321358 // indirect
	github.com/fxamacker/cbor/v2 v2.4.0 // indirect
	github.com/go-asn1-ber/asn1-ber v1.5.4 // indirect
	github.com/go-ldap/ldap/v3 v3.4.4 // indirect
	github.com/golang-jwt/jwt/v4 v4.4.3 // indirect
	github.com/inconshreveable/mousetrap v1.1.0 // indirect
	github.com/veraison/go-cose v1.0.0 // indirect
	github.com/x448/float16 v0.8.4 // indirect
	golang.org/x/crypto v0.5.0 // indirect
	golang.org/x/mod v0.7.0 // indirect
	golang.org/x/sync v0.1.0 // indirect
	golang.org/x/sys v0.4.0 // indirect
)

@Manas23601 Manas23601 added bug Something isn't working triage Need to triage labels Feb 19, 2023
@JeyJeyGao
Copy link
Contributor

Hi Manas, building.md is obsolete. You don't need to run docker --help. As long as you can call notation command, you can use it directly. Thanks for your issue, we will update the installation guide later.

@yizha1 yizha1 removed the triage Need to triage label Apr 26, 2023
@yizha1 yizha1 added this to the 1.0.0 milestone Apr 26, 2023
priteshbandi pushed a commit that referenced this issue May 19, 2023
Resolves #562 
Signed-off-by: Junjie Gao <junjiegao@microsoft.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

3 participants