Skip to content

Commit

Permalink
Bump python 3.12 (#15)
Browse files Browse the repository at this point in the history
* Bump python 3.12

* fix deps

* test
  • Loading branch information
lifeofguenter authored Nov 10, 2024
1 parent ca2bb3d commit 56bef17
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-and-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
fetch-depth: 0

Expand Down
9 changes: 5 additions & 4 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
FROM python:3.9-alpine
FROM python:3.12-alpine

ENTRYPOINT [ "certbot" ]
VOLUME /etc/letsencrypt /var/lib/letsencrypt

ARG certbot_version=2.1.0
ARG certbot_version=2.11.0

# see: https://store.docker.com/community/images/certbot/certbot/dockerfile
RUN set -exo pipefail && \
apk add --quiet --no-cache --virtual .certbot-deps \
libffi \
libssl1.1 \
libssl3 \
openssl \
ca-certificates \
binutils
Expand All @@ -24,6 +24,7 @@ RUN set -exo pipefail && \
openssl-dev \
rust && \
pip3 install -qqq --no-cache-dir \
"certbot==${certbot_version}" \
"certbot-dns-cloudflare==${certbot_version}" \
"certbot-dns-digitalocean==${certbot_version}" \
"certbot-dns-dnsimple==${certbot_version}" \
Expand All @@ -39,5 +40,5 @@ RUN set -exo pipefail && \
"certbot-dns-sakuracloud==${certbot_version}" \
"certbot-dns-cloudxns==1.32.0" \
"certbot-dns-bunny==0.0.9" \
"certbot-dns-gcore==0.1.7" && \
"certbot-dns-gcore==0.1.8" && \
apk del --quiet .build-deps

0 comments on commit 56bef17

Please sign in to comment.