Skip to content

Commit

Permalink
Alpine and letsencrypt bump
Browse files Browse the repository at this point in the history
  • Loading branch information
Menkveld-24 committed Feb 21, 2023
1 parent 7aa669a commit 2fc92b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 5 deletions.
12 changes: 7 additions & 5 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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!

0 comments on commit 2fc92b3

Please sign in to comment.