1
0
mirror of https://github.com/rancher/norman.git synced 2025-08-10 11:42:05 +00:00
norman/Dockerfile.dapper

17 lines
506 B
Docker
Raw Normal View History

2019-08-19 17:08:37 +00:00
FROM golang:1.12.9-alpine
2017-10-12 05:48:07 +00:00
2018-09-25 18:43:11 +00:00
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
2017-10-12 05:48:07 +00:00
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"]