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

Readme build instructions tweaks #116

Closed
CodingKoopa opened this issue Jun 27, 2018 · 2 comments
Closed

Readme build instructions tweaks #116

CodingKoopa opened this issue Jun 27, 2018 · 2 comments

Comments

@CodingKoopa
Copy link

CodingKoopa commented Jun 27, 2018

I'm trying to use the helper program to use pass with Docker. I'm using the armhf architecture on Ubuntu 16.04. Only amd64 releases are provided here, and the Ubuntu backports for these programs don't go far enough to Trusty, so I have to build docker-credential-pass myself. I'm using these commands:

  • sudo apt-get install golang-go to install Go.
  • cd ~/Documents/ && mkdir Go to make a working directory for Go.
  • export GOPATH=$HOME/Documents/Go to set the working directory for Go.
  • go get github.com/docker/docker-credential-helpers as instructed by the readme. This outputted this line on Go 1.6.2:
package github.com/docker/docker-credential-helpers: no buildable Go source files in /home/koopa/Documents/Go/src/github.com/docker/docker-credential-helpers

And on Go 1.10.3:

package github.com/docker/docker-credential-helpers: no Go files in /home/koopa/Documents/Go/src/github.com/docker/docker-credential-helpers
  • cd $GOPATH/src/github.com/docker/docker-credential-helpers to enter the readme directory. The readme says to use cd $GOPATH/docker/docker-credentials-helpers, which seems to be the wrong path here.
  • make pass to compile docker-credential-pass.
  • mkdir $GOPATH/bin, ln -s "$GOPATH/src/github.com/docker/docker-credential-helpers/bin/docker-credential-pass" $GOPATH/bin/, and echo "PATH=$PATH:$GOPATH/bin" >> ~/.bashrc to add the binary to my path.

tl;dr: The command in step 1 outputted an error for me, and a command in step 2 has a different path than what I got.

@CodingKoopa CodingKoopa changed the title Readme build instructions not working Readme build instructions tweaks Jun 27, 2018
@rouaks
Copy link

rouaks commented Feb 4, 2019

Same issue

@thaJeztah
Copy link
Member

#168 switched this project to use go modules, which should probably help with this issue.

Closing this ticket for now, but feel free to comment if there's things left to address

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants