From 3a582eba83affd1cec116d96f62c54748ecb5129 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 13:59:29 +0000 Subject: [PATCH 1/3] Initial plan From 224930180fec93288e484b9753aeab631910e08e Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 14:03:46 +0000 Subject: [PATCH 2/3] fix: add resilient OpenSSL source download fallbacks Co-authored-by: keithboone <36998841+keithboone@users.noreply.github.com> --- Dockerfile | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/Dockerfile b/Dockerfile index 7fa93f2..96f68ef 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,8 +33,17 @@ RUN apk add --no-cache musl-dev linux-headers make perl openssl-dev wget gcc \ fi; \ fi \ && echo "Building OpenSSL version: ${OPENSSL_VERSION}" \ - && if ! wget "https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz"; then \ - echo "ERROR: Failed to download OpenSSL ${OPENSSL_VERSION}"; \ + && OPENSSL_TARBALL="openssl-${OPENSSL_VERSION}.tar.gz" \ + && OPENSSL_URLS="https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/${OPENSSL_TARBALL} https://github.com/openssl/openssl/archive/refs/tags/openssl-${OPENSSL_VERSION}.tar.gz https://www.openssl.org/source/${OPENSSL_TARBALL} https://www.openssl.org/source/old/3.5/${OPENSSL_TARBALL} https://source.openssl.org/source/${OPENSSL_TARBALL} https://source.openssl.org/source/old/3.5/${OPENSSL_TARBALL}" \ + && DOWNLOAD_OK=0 \ + && for URL in ${OPENSSL_URLS}; do \ + if wget -O "${OPENSSL_TARBALL}" "${URL}"; then \ + DOWNLOAD_OK=1; \ + break; \ + fi; \ + done \ + && if [ "${DOWNLOAD_OK}" -ne 1 ]; then \ + echo "ERROR: Failed to download OpenSSL ${OPENSSL_VERSION} from all known sources"; \ exit 1; \ fi \ && tar xf openssl-${OPENSSL_VERSION}.tar.gz \ @@ -121,5 +130,3 @@ RUN if [ -n "$BEATS_VERSION_OVERRIDE" ]; then \ && chmod 775 /usr/share/metricbeat /usr/share/metricbeat/data \ && cp -a /etc/ssl/certs/* /usr/local/ssl/certs \ && openssl list -providers - - From 144e1fb7c34c885c5da29ef8da2807e1ea5d59c5 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Mon, 17 Aug 2026 14:06:13 +0000 Subject: [PATCH 3/3] revert: remove OpenSSL multi-source download fallback Co-authored-by: keithboone <36998841+keithboone@users.noreply.github.com> --- Dockerfile | 13 ++----------- 1 file changed, 2 insertions(+), 11 deletions(-) diff --git a/Dockerfile b/Dockerfile index 96f68ef..5948b72 100644 --- a/Dockerfile +++ b/Dockerfile @@ -33,17 +33,8 @@ RUN apk add --no-cache musl-dev linux-headers make perl openssl-dev wget gcc \ fi; \ fi \ && echo "Building OpenSSL version: ${OPENSSL_VERSION}" \ - && OPENSSL_TARBALL="openssl-${OPENSSL_VERSION}.tar.gz" \ - && OPENSSL_URLS="https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/${OPENSSL_TARBALL} https://github.com/openssl/openssl/archive/refs/tags/openssl-${OPENSSL_VERSION}.tar.gz https://www.openssl.org/source/${OPENSSL_TARBALL} https://www.openssl.org/source/old/3.5/${OPENSSL_TARBALL} https://source.openssl.org/source/${OPENSSL_TARBALL} https://source.openssl.org/source/old/3.5/${OPENSSL_TARBALL}" \ - && DOWNLOAD_OK=0 \ - && for URL in ${OPENSSL_URLS}; do \ - if wget -O "${OPENSSL_TARBALL}" "${URL}"; then \ - DOWNLOAD_OK=1; \ - break; \ - fi; \ - done \ - && if [ "${DOWNLOAD_OK}" -ne 1 ]; then \ - echo "ERROR: Failed to download OpenSSL ${OPENSSL_VERSION} from all known sources"; \ + && if ! wget "https://github.com/openssl/openssl/releases/download/openssl-${OPENSSL_VERSION}/openssl-${OPENSSL_VERSION}.tar.gz"; then \ + echo "ERROR: Failed to download OpenSSL ${OPENSSL_VERSION}"; \ exit 1; \ fi \ && tar xf openssl-${OPENSSL_VERSION}.tar.gz \