This repository has been archived on 2025-10-16. You can view files and clone it, but cannot push or open issues or pull requests.
Files
certs/Containerfile
Dustin C. Hatch 3bbab9ea40
All checks were successful
ContainerImages/certs/pipeline/head This commit looks good
Initial commit
2022-11-13 11:46:04 -06:00

31 lines
655 B
Docker

FROM alpine:3.15
RUN apk --no-cache add -f \
openssl \
openssh-client \
coreutils \
bind-tools \
curl \
sed \
socat \
tzdata \
oath-toolkit-oathtool \
tar \
libidn \
jq
RUN curl -fL -o /tmp/acme.sh https://raw.githubusercontent.com/acmesh-official/acme.sh/3.0.4/acme.sh && \
mkdir -p /usr/local/acme.sh && \
cd /tmp && \
sh acme.sh \
--install \
--home /usr/local/acme.sh \
--config-home /acme.sh \
--no-cron \
&& \
ln -s /usr/local/acme.sh/acme.sh /usr/local/bin/ && \
rm -f /tmp/acme.sh
RUN curl -L https://github.com/go-acme/lego/releases/download/v4.4.0/lego_v4.4.0_linux_amd64.tar.gz \
| tar -xz -C /usr/local/bin lego