Fix: add src to correct root path.
This commit is contained in:
@@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
FROM golang:latest
|
FROM golang:latest
|
||||||
|
|
||||||
ADD . /gopath/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/_src
|
ADD . /go/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/_src
|
||||||
|
|
||||||
WORKDIR /go/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/
|
WORKDIR /go/src/github.com/GoogleCloudPlatform/kubernetes/examples/guestbook-go/
|
||||||
RUN cd _src/ && go get && go build -o ../bin/guestbook
|
RUN cd _src/ && go get && go build -o ../bin/guestbook
|
||||||
|
Reference in New Issue
Block a user