mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-10 20:42:26 +00:00
Fix: add src to correct root path.
This commit is contained in:
parent
6fe13ab726
commit
90c89e15b6
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user