hyperledger-archives / sawtooth-sdk-go

https://wiki.hyperledger.org/display/sawtooth
Apache License 2.0
28 stars 40 forks source link

Fix Docker instruction in README.md #36

Closed francisco-rojas closed 5 years ago

francisco-rojas commented 5 years ago

After following the Docker instructions in the README I kept getting this:

$ docker run -v $(pwd):/project/sawtooth-sdk-go sawtooth-sdk-go
can't load package: package github.com/hyperledger/sawtooth-sdk-go: no Go files in /go/src/github.com/hyperledger/sawtooth-sdk-go

then I realized that the reason why I kept getting the error was that the command in the README to build the SDK was mounting the volume to /project/sawtooth-sdk-go but the Dockerfile uses /go/src/github.com/hyperledger/sawtooth-sdk-go/ as the working directory, and of course there are no files mounted in that path.

arsulegai commented 5 years ago

This is duplicate of what's done in another PR https://github.com/hyperledger/sawtooth-sdk-go/pull/14

francisco-rojas commented 5 years ago

Closing this as the change in PR #14 have been merged