1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-01 15:28:11 +00:00
norman/Dockerfile.dapper
2019-08-19 10:14:08 -07:00

17 lines
506 B
Docker

FROM golang:1.12.9-alpine
RUN apk -U add bash git gcc musl-dev docker
RUN go get -d golang.org/x/lint/golint && \
git -C /go/src/golang.org/x/lint/golint checkout -b current 06c8688daad7faa9da5a0c2f163a3d14aac986ca && \
go install golang.org/x/lint/golint && \
rm -rf /go/src /go/pkg
ENV DAPPER_SOURCE /go/src/github.com/rancher/norman/
ENV DAPPER_OUTPUT ./bin ./dist
ENV DAPPER_DOCKER_SOCKET true
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]