-
Notifications
You must be signed in to change notification settings - Fork 31
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
Uses assemblies in docker images and enables arm64+amd64 platforms #163
base: main
Are you sure you want to change the base?
Conversation
912ffbd
to
d2169e9
Compare
export PATH=${env.PATH}:${env.WORKSPACE}/go/bin:${env.WORKSPACE}/bin | ||
export GOPATH=${env.WORKSPACE} | ||
go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary@latest | ||
notary --help |
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.
notary --help
- Is this line needed here?
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.
Not strictly needed. I liked it because it helped me debug locally to know it was installed and setup correctly.
export PATH=${env.PATH}:${env.WORKSPACE}/go/bin:${env.WORKSPACE}/bin | ||
export GOPATH=${env.WORKSPACE} | ||
go install -tags pkcs11 github.com/theupdateframework/notary/cmd/notary@latest | ||
notary --help |
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.
Same as above - is this line needed here?
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.
+0.5 Nothing stands out to me as wrong, but I cannot say I fully understand all the details.
Especially the notarization approach is new to me, so I cannot tell by just looking at the PR if it works or not, or if anything is missing.
Changes included in this PR:
Overall docker image size is reduced by about 300MB.