Merge pull request #405 from infosiftr/golang-copy-path

Fix golang:onbuild "COPY" path
This commit is contained in:
Tianon Gravi
2015-11-24 09:37:22 -08:00
+1 -2
View File
@@ -16,8 +16,7 @@ The most straightforward way to use this image is to use a Go container as both
FROM golang:1.3-onbuild
```
This image includes multiple `ONBUILD` triggers which should cover most applications. The build will `COPY . /usr/src/app`, `RUN go get -d -v`, and `RUN
go install -v`.
This image includes multiple `ONBUILD` triggers which should cover most applications. The build will `COPY . /go/src/app`, `RUN go get -d -v`, and `RUN go install -v`.
This image also includes the `CMD ["app"]` instruction which is the default command when running the image without arguments.