1
0
mirror of https://github.com/rancher/rke.git synced 2025-04-27 19:25:44 +00:00
rke/Dockerfile.dapper

20 lines
578 B
Docker
Raw Normal View History

2025-02-12 04:55:43 +00:00
FROM registry.suse.com/bci/golang:1.23
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
2025-02-12 04:55:43 +00:00
RUN curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s v1.63.4
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"]