acme.sh (sha256:24b326d17b5a2291726960bd5098ae245ecbdcbe2f97e9fd2ed01ae88d8d12e4)

Published 2026-04-05 00:13:38 +00:00 by Bluemedia

Installation

docker pull git.bluemedia.dev/bluemedia/acme.sh@sha256:24b326d17b5a2291726960bd5098ae245ecbdcbe2f97e9fd2ed01ae88d8d12e4
sha256:24b326d17b5a2291726960bd5098ae245ecbdcbe2f97e9fd2ed01ae88d8d12e4

About this package

A pure Unix shell script ACME client for SSL / TLS certificate automation

Image layers

ADD alpine-minirootfs-3.22.3-x86_64.tar.gz / # buildkit
CMD ["/bin/sh"]
RUN /bin/sh -c apk --no-cache add -f openssl openssh-client coreutils bind-tools curl sed socat tzdata oath-toolkit-oathtool tar libidn jq yq-go supercronic # buildkit
ENV LE_WORKING_DIR=/acmebin
ENV LE_CONFIG_HOME=/acme.sh
ENV HOME=/acme.sh
ARG AUTO_UPGRADE=1
ENV AUTO_UPGRADE=1
COPY ./acme.sh /install_acme.sh/acme.sh # buildkit
COPY ./deploy /install_acme.sh/deploy # buildkit
COPY ./dnsapi /install_acme.sh/dnsapi # buildkit
COPY ./notify /install_acme.sh/notify # buildkit
RUN |1 AUTO_UPGRADE=1 /bin/sh -c addgroup -g 1000 acme && adduser -h $LE_CONFIG_HOME -s /bin/sh -G acme -D -H -u 1000 acme # buildkit
RUN |1 AUTO_UPGRADE=1 /bin/sh -c cd /install_acme.sh && ([ -f /install_acme.sh/acme.sh ] && /install_acme.sh/acme.sh --install || curl https://get.acme.sh | sh) && rm -rf /install_acme.sh/ # buildkit
RUN |1 AUTO_UPGRADE=1 /bin/sh -c ln -s $LE_WORKING_DIR/acme.sh /usr/local/bin/acme.sh # buildkit
RUN |1 AUTO_UPGRADE=1 /bin/sh -c chown -R acme:acme $LE_CONFIG_HOME # buildkit
RUN |1 AUTO_UPGRADE=1 /bin/sh -c for verb in help version install uninstall upgrade issue signcsr deploy install-cert renew renew-all revoke remove list info showcsr install-cronjob uninstall-cronjob cron toPkcs toPkcs8 update-account register-account create-account-key create-domain-key createCSR deactivate deactivate-account set-notify set-default-ca set-default-chain ; do printf -- "%b" "#!/usr/bin/env sh\n$LE_WORKING_DIR/acme.sh --${verb} --config-home $LE_CONFIG_HOME \"\$@\"" >/usr/local/bin/--${verb} && chmod +x /usr/local/bin/--${verb} ; done # buildkit
RUN |1 AUTO_UPGRADE=1 /bin/sh -c printf "%b" '#!'"/usr/bin/env sh\n if [ \"\$1\" = \"daemon\" ]; then \n if [ ! -f \"\$LE_CONFIG_HOME/crontab\" ]; then \n echo \"\$LE_CONFIG_HOME/crontab not found, generating one\" \n time=\$(date -u \"+%s\") \n random_minute=\$((\$time % 60)) \n random_hour=\$((\$time / 60 % 24)) \n echo \"\$random_minute \$random_hour * * * \\\"\$LE_WORKING_DIR\\\"/acme.sh --cron --home \\\"\$LE_WORKING_DIR\\\" --config-home \\\"\$LE_CONFIG_HOME\\\"\" > \"\$LE_CONFIG_HOME\"/crontab \n fi \n echo \"Running Supercronic using crontab at \$LE_CONFIG_HOME/crontab\" \n exec -- /usr/bin/supercronic \"\$LE_CONFIG_HOME/crontab\" \n else \n exec -- \"\$@\"\n fi\n" >/entry.sh && chmod +x /entry.sh && chmod -R o+rwx $LE_WORKING_DIR && chmod -R o+rwx $LE_CONFIG_HOME # buildkit
VOLUME [/acme.sh]
ENTRYPOINT ["/entry.sh"]
CMD ["--help"]
COPY bluesys-root.crt /usr/local/share/ca-certificates/bluesys-root.crt # buildkit
RUN /bin/sh -c cat /usr/local/share/ca-certificates/bluesys-root.crt >> /etc/ssl/certs/ca-certificates.crt # buildkit

Labels

Key Value
org.opencontainers.image.created 2026-04-05T00:13:15Z
org.opencontainers.image.description A pure Unix shell script ACME client for SSL / TLS certificate automation
org.opencontainers.image.licenses GPL-3.0
org.opencontainers.image.revision 5af3e09a618fbfbabf537b35f8450dd0346005a5
org.opencontainers.image.source https://git.bluemedia.dev/containers/images.git
org.opencontainers.image.title acme.sh
org.opencontainers.image.url https://git.bluemedia.dev/containers/images
org.opencontainers.image.version master
Details
Container
2026-04-05 00:13:38 +00:00
0
OCI / Docker
linux/amd64
GPL-3.0
23 MiB
Versions (1) View all
latest 2026-04-05