From 638c6fb02d2289e2e9c89891ee7fa12e349db091 Mon Sep 17 00:00:00 2001 From: Gil Casadevall Date: Mon, 13 Jun 2016 16:50:58 +0200 Subject: [PATCH] Updated Dockerfile with kubectl install --- Dockerfile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 7e459e4..ee1fdac 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,9 +1,14 @@ FROM golang:1.6 +RUN wget http://storage.googleapis.com/kubernetes-release/release/v1.2.4/bin/linux/amd64/kubectl -O /usr/bin/kubectl && \ + chmod +x /usr/bin/kubectl + RUN mkdir -p /go/src/app WORKDIR /go/src/app ADD . /go/src/app/ RUN go-wrapper download -RUN go-wrapper install \ No newline at end of file +RUN go-wrapper install + +CMD ["app"] \ No newline at end of file