<commit_before>FROM alpine:latest
MAINTAINER <NAME> <<EMAIL>>
WORKDIR /usr/local/bin
VOLUME /var/lib/acme
ENTRYPOINT ["/usr/local/bin/acmetool"]

RUN ACME_VERSION="0.0.51" \
 && BUILD_PKGS="curl tar python3-dev gcc musl-dev libffi-dev openssl-dev" \
 && apk add --no-cache python3 bind-tools $BUILD_PKGS \
 && mkdir -p /usr/libexec/acme/hooks \
 && pyvenv /usr/libexec/acme/venv-dns.hook \
 && /usr/libexec/acme/venv-dns.hook/bin/pip install -U pip setuptools \
 && /usr/libexec/acme/venv-dns.hook/bin/pip install requests[security] \
 && curl -L https://github.com/hlandau/acme/releases/download/v$ACME_VERSION/acmetool-v$ACME_VERSION-linux_amd64.tar.gz | tar xz --strip-components=2 acmetool-v$ACME_VERSION-linux_amd64/bin/acmetool \
 && curl -L https://github.com/yinguanhao/acme-dns-hook-cloudflare/raw/master/dns.hook \
  | sed -e 's%^#!/usr/bin/python3$%#!/usr/libexec/acme/venv-dns.hook/bin/python3%' -e 's/^# EMAIL =.*$/import os; EMAIL = os.getenv("ACME_CLOUDFLARE_EMAIL")/' -e 's/^# KEY =.*$/KEY = os.getenv("ACME_CLOUDFLARE_KEY")/' > /usr/libexec/acme/hooks/dns.hook \
 && chmod 0755 /usr/libexec/acme/hooks/dns.hook \
 && apk del --rdepends $BUILD_PKGS<commit_msg>[acmetool] Update to 0.0.56<commit_after>FROM alpine:latest
MAINTAINER <NAME> <<EMAIL>>
WORKDIR /usr/local/bin
VOLUME /var/lib/acme
ENTRYPOINT ["/usr/local/bin/acmetool"]

RUN ACME_VERSION="0.0.56" \
 && BUILD_PKGS="curl tar python3-dev gcc musl-dev libffi-dev openssl-dev" \
 && apk add --no-cache python3 bind-tools ca-certificates $BUILD_PKGS \
 && mkdir -p /usr/libexec/acme/hooks \
 && pyvenv /usr/libexec/acme/venv-dns.hook \
 && /usr/libexec/acme/venv-dns.hook/bin/pip install -U pip setuptools \
 && /usr/libexec/acme/venv-dns.hook/bin/pip install requests[security] \
 && curl -L https://github.com/hlandau/acme/releases/download/v$ACME_VERSION/acmetool-v$ACME_VERSION-linux_amd64.tar.gz | tar xz --strip-components=2 acmetool-v$ACME_VERSION-linux_amd64/bin/acmetool \
 && curl -L https://github.com/yinguanhao/acme-dns-hook-cloudflare/raw/master/dns.hook \
  | sed -e 's%^#!/usr/bin/python3$%#!/usr/libexec/acme/venv-dns.hook/bin/python3%' -e 's/^# EMAIL =.*$/import os; EMAIL = os.getenv("ACME_CLOUDFLARE_EMAIL")/' -e 's/^# KEY =.*$/KEY = os.getenv("ACME_CLOUDFLARE_KEY")/' > /usr/libexec/acme/hooks/dns.hook \
 && chmod 0755 /usr/libexec/acme/hooks/dns.hook \
 && apk del --rdepends $BUILD_PKGS
{'fraction_non_alphanumeric': 0.18681780016792612, 'fraction_numerical': 0.01595298068849706, 'mean_word_length': 3.863265306122449, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 11, 'https://': 4, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1260628', 'n_tokens_mistral': 1052, 'n_tokens_neox': 1026, 'n_words': 147}