cloudflared-mirror/dev.Dockerfile

9 lines
267 B
Docker
Raw Permalink Normal View History

2021-01-29 04:37:23 +00:00
FROM golang:1.15.7 as builder
ENV GO111MODULE=on \
CGO_ENABLED=0
WORKDIR /go/src/github.com/cloudflare/cloudflared/
RUN apt-get update
COPY . .
# compile cloudflared
RUN make cloudflared
RUN cp /go/src/github.com/cloudflare/cloudflared/cloudflared /usr/local/bin/