mirror of
https://github.com/rancher/cli.git
synced 2026-02-05 09:48:36 +01:00
16 lines
502 B
Docker
16 lines
502 B
Docker
FROM golang:1.6
|
|
RUN go get github.com/rancher/trash
|
|
RUN go get github.com/golang/lint/golint
|
|
RUN curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.9.1 > /usr/bin/docker && \
|
|
chmod +x /usr/bin/docker
|
|
ENV PATH /go/bin:$PATH
|
|
ENV DAPPER_SOURCE /go/src/github.com/rancher/cli
|
|
ENV DAPPER_OUTPUT bin
|
|
ENV DAPPER_DOCKER_SOCKET true
|
|
ENV DAPPER_ENV TAG REPO
|
|
ENV GO15VENDOREXPERIMENT 1
|
|
ENV TRASH_CACHE ${DAPPER_SOURCE}/.trash-cache
|
|
WORKDIR ${DAPPER_SOURCE}
|
|
ENTRYPOINT ["./scripts/entry"]
|
|
CMD ["ci"]
|