collection.dockerfile/alpine/flarectl/Dockerfile

9 lines
227 B
Docker

FROM alpine:latest
# Set a working directory
RUN apk add go bash jq
RUN go install github.com/cloudflare/cloudflare-go/cmd/flarectl@latest
RUN echo "export PATH=/root/go/bin:$PATH" >> /root/.bashrc
ENTRYPOINT [ "/bin/bash" ]