*Initial version

This commit is contained in:
Derrick Hammer 2022-12-18 09:23:56 -05:00
parent 976d367724
commit 58e9d7e8bc
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 11 additions and 0 deletions

6
Dockerfile Normal file
View File

@ -0,0 +1,6 @@
FROM dpig/cloudflare-cli
ADD app.sh .
ENTRYPOINT ["/bin/sh"]
CMD ["/usr/src/app/app.sh"]

5
app.sh Normal file
View File

@ -0,0 +1,5 @@
#!/usr/bin/env sh
export CF_API_KEY=$PLUGIN_CLOUDFLARE_ACCESS_TOKEN
cfcli -d "$PLUGIN_DOMAIN" purge $PLUGIN_PATH