1
0
mirror of https://github.com/rancher/rke.git synced 2025-07-19 17:50:16 +00:00
rke/Dockerfile.dapper

20 lines
578 B
Docker
Raw Normal View History

FROM registry.suse.com/bci/golang:1.22
2017-10-26 00:02:49 +00:00
ARG DAPPER_HOST_ARCH
ENV HOST_ARCH=${DAPPER_HOST_ARCH} ARCH=${DAPPER_HOST_ARCH}
2023-02-18 07:50:32 +00:00
RUN zypper -n in docker awk
2021-06-06 07:16:44 +00:00
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.57.2
2017-10-26 00:02:49 +00:00
ENV DAPPER_SOURCE /go/src/github.com/rancher/rke/
ENV DAPPER_RUN_ARGS --privileged -v /var/lib/docker
ENV DAPPER_OUTPUT ./bin ./dist ./build/bin ./data
2017-10-26 00:02:49 +00:00
ENV DAPPER_DOCKER_SOCKET true
ENV DAPPER_ENV TAG REPO GOOS CROSS DRONE_TAG
2017-10-26 00:02:49 +00:00
ENV HOME ${DAPPER_SOURCE}
WORKDIR ${DAPPER_SOURCE}
ENTRYPOINT ["./scripts/entry"]
CMD ["ci"]