Dockerfile.dapper 508 B

12345678910111213141516
  1. FROM golang:1.6.2
  2. RUN go get github.com/rancher/trash
  3. RUN go get github.com/golang/lint/golint
  4. RUN curl -sL https://get.docker.com/builds/Linux/x86_64/docker-1.9.1 > /usr/bin/docker && \
  5. chmod +x /usr/bin/docker
  6. ENV PATH /go/bin:$PATH
  7. ENV DAPPER_SOURCE /go/src/github.com/rancher/cniglue
  8. ENV DAPPER_OUTPUT bin
  9. ENV DAPPER_DOCKER_SOCKET true
  10. ENV DAPPER_ENV TAG REPO
  11. ENV GO15VENDOREXPERIMENT 1
  12. ENV TRASH_CACHE ${DAPPER_SOURCE}/.trash-cache
  13. WORKDIR ${DAPPER_SOURCE}
  14. ENTRYPOINT ["./scripts/entry"]
  15. CMD ["ci"]