collection.dockerfile/alpine/flarectl/Dockerfile

9 lines
227 B
Docker
Raw Normal View History

2023-03-01 13:28:17 +08:00
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" ]