diff --git a/Dockerfile b/Dockerfile index cbf60c4..e47858d 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,23 +1,25 @@ # [CERTER] # APISIX Letsencrypt certificate generator Dockerfile # Menke 2022 - -FROM alpine:3.14 +FROM alpine:3.17 # Default env variables ENV TTL=60 \ CERT_TYPE=staging \ - PORT=80 \ + PORT=80 \ CURL_DEBUG=false \ CURL_QUIET=true \ - CURL_IGNORESSL=false \ + CURL_IGNORESSL=true \ DELETE_OTHER_CERTS=true \ - AGREE_TOS=false + AGREE_TOS=true + + RUN apk update RUN apk add bash certbot curl jq ADD certer.sh /certer.sh +ADD README.md /README.md RUN ["chmod", "+x", "/certer.sh"] EXPOSE 80 diff --git a/README.md b/README.md index 28e00f1..02f9065 100644 --- a/README.md +++ b/README.md @@ -26,5 +26,12 @@ | CURL_QUIET | Displays curl output in terminal (including certificates) | false | N | | CURL_IGNORESSL | Ignore ssl errors when making requests to APISIX | true | N | +### Versions +Version overview, this is not fully tested on all versions +| Version | API version | +|---------|-------------| +|1.x.x | 2.15 | +|2.x.x | 3.1 | + ### Open source Feel free to check out the [GitHub](https://github.com/Menkveld-24/CERTER-letsencrypt-apisix) repository and contribute!