Fix: add src and workdir to correct root path.

This commit is contained in:
Matthias Luebken 2016-02-16 16:42:45 +01:00
parent 62474f1fbf
commit eff27cd503

View File

@ -14,9 +14,9 @@
FROM google/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 /gopath/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 cp _src/guestbook/Dockerfile .