forked from harbur/kubebot
-
Notifications
You must be signed in to change notification settings - Fork 20
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated Dockerfile with kubectl install
- Loading branch information
Showing
1 changed file
with
6 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 | ||
RUN go-wrapper install | ||
|
||
CMD ["app"] |