From 2b5a2e9481c4b18e5eec80e884bd283f387dbdfc Mon Sep 17 00:00:00 2001 From: Jamie Curnow Date: Wed, 8 Apr 2026 07:37:36 +1000 Subject: [PATCH] Remove cert-prune, the project has been deleted from github --- docker/Dockerfile.certbot | 3 --- scripts/install-cert-prune | 34 ---------------------------------- 2 files changed, 37 deletions(-) delete mode 100755 scripts/install-cert-prune diff --git a/docker/Dockerfile.certbot b/docker/Dockerfile.certbot index d4564ae..da27900 100644 --- a/docker/Dockerfile.certbot +++ b/docker/Dockerfile.certbot @@ -49,9 +49,6 @@ LABEL maintainer="Jamie Curnow " RUN echo "Certbot: $BASE_IMAGE, ${TARGETPLATFORM:-linux/amd64}" >> /built-for-arch -COPY scripts/install-cert-prune /tmp/install-cert-prune -RUN /tmp/install-cert-prune "${TARGETPLATFORM:-linux/amd64}" && rm -f /tmp/install-cert-prune - # OpenResty uses LuaJIT which has a dependency on GCC RUN apt-get update \ && apt-get install -y --no-install-recommends \ diff --git a/scripts/install-cert-prune b/scripts/install-cert-prune deleted file mode 100755 index b42eccf..0000000 --- a/scripts/install-cert-prune +++ /dev/null @@ -1,34 +0,0 @@ -#!/bin/bash -e - -# Note: This script is designed to be run inside a Docker Build for a container - -CYAN='\E[1;36m' -YELLOW='\E[1;33m' -BLUE='\E[1;34m' -GREEN='\E[1;32m' -RESET='\E[0m' - -CERT_PRUNE_VERSION=0.0.1 -TARGETPLATFORM=$1 - -# Determine the correct binary file for the architecture given -case $TARGETPLATFORM in - linux/arm64) - ARCH=arm64 - ;; - - *) - ARCH=amd64 - ;; -esac - -echo -e "${BLUE}❯ ${CYAN}Installing cert-prune v${CERT_PRUNE_VERSION} for ${YELLOW}${TARGETPLATFORM} (${ARCH})${RESET}" - -mkdir -p /tmp/cert-prune -cd /tmp/cert-prune -curl -L -o 'cert-prune.tar.gz' "https://github.com/axllent/cert-prune/releases/download/${CERT_PRUNE_VERSION}/cert-prune-linux-${ARCH}.tar.gz" -tar -xzf 'cert-prune.tar.gz' -mv cert-prune /bin/ -rm -rf /tmp/cert-prune - -echo -e "${BLUE}❯ ${GREEN}cert-prune install Complete${RESET}"