From 3bbab9ea401b711188a4170535544e2c683c046b Mon Sep 17 00:00:00 2001 From: "Dustin C. Hatch" Date: Sun, 13 Nov 2022 11:46:04 -0600 Subject: [PATCH] Initial commit --- Containerfile | 30 ++++++++++++++++++++++++++++++ Jenkinsfile | 1 + 2 files changed, 31 insertions(+) create mode 100644 Containerfile create mode 100644 Jenkinsfile diff --git a/Containerfile b/Containerfile new file mode 100644 index 0000000..bd60c0b --- /dev/null +++ b/Containerfile @@ -0,0 +1,30 @@ +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 diff --git a/Jenkinsfile b/Jenkinsfile new file mode 100644 index 0000000..95632a5 --- /dev/null +++ b/Jenkinsfile @@ -0,0 +1 @@ +buildContainerImage()