mirror of https://github.com/rancher/cli.git
16 lines
481 B
Docker
16 lines
481 B
Docker
FROM registry.suse.com/bci/golang:1.20
|
|
|
|
RUN zypper -n install docker rsync xz zip
|
|
|
|
ENV GOLANGCI_LINT v1.53.3
|
|
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s -- -b $(go env GOPATH)/bin "$GOLANGCI_LINT"
|
|
|
|
ENV DAPPER_SOURCE /go/src/github.com/rancher/cli
|
|
ENV DAPPER_OUTPUT bin build/bin dist
|
|
ENV DAPPER_DOCKER_SOCKET true
|
|
ENV DAPPER_ENV TAG REPO GOOS CROSS DRONE_TAG
|
|
|
|
WORKDIR ${DAPPER_SOURCE}
|
|
ENTRYPOINT ["./scripts/entry"]
|
|
CMD ["ci"]
|