-
Notifications
You must be signed in to change notification settings - Fork 158
cannot find package "github.com/docker/docker/pkg/units" #28
Comments
@scrottie There are some instructions here: https://github.com/jwilder/docker-squash#development
|
Ah, thanks for the clarification. I saw that but misunderstood From
...
This seems to get back to the Go package installation instructions in the stackoverflow article. I'll have to play with that later and maybe harass that project maintainer. Thanks again. |
@scrottie You're go env is not setup yet. You need to set a
Once that is setup, you would clone this repo to You'll want to add |
Frankly, I agree with @scrottie, In your last comment you state It is probably true that once Go is configured it does not matter where source goes and where it is build, however, on golang.org site they say
And that is a good idea to keep everything Go there. So I would suggest you to add all these steps and note to change directory in explanation so source gets to right place. Please add the part about I can do it in pull request if you wish? |
Could you please add some instructions to the README.md for people who don't know golang?
I tried to Google this and found these instructions for installing Go packages: http://stackoverflow.com/questions/10772799/how-to-install-golang-3rd-party-projects-from-download-sources
That seems strange and overly complicated but if it's right I'll give it a whirl.
It seems like "units" is the Go package I need to build this, but Googling "golang package units", I can't find anything plausible in the first two pages.
tl;dr would be nice if what I needed to know about Go to build this was included in the README.md since the solution doesn't seem to be immediately searchable =)
Thanks
The text was updated successfully, but these errors were encountered: