From 96956ef98051fe1fe42d030d89f04216940b50d2 Mon Sep 17 00:00:00 2001 From: Pascal Berger Date: Thu, 6 Jun 2024 10:19:30 +0200 Subject: [PATCH] Ensure no redirect to HTTP happens (#116) --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index b423bad..a0f3d58 100644 --- a/Dockerfile +++ b/Dockerfile @@ -21,7 +21,7 @@ RUN apt-get update -y && \ # Install necessary dependencies apt-get install -y --no-install-recommends curl=${CURL_VERSION} lsb-release=${LSBRELEASE_VERSION} gnupg=${GNUPG_VERSION} && \ # Add Eclipse Adoptium public key - curl -fsSL https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ + curl --proto "=https" -fsSL https://packages.adoptium.net/artifactory/api/gpg/key/public | tee /etc/apt/keyrings/adoptium.asc && \ # Add Eclipse Adoptium APT repository to the list of sources echo "deb [signed-by=/etc/apt/keyrings/adoptium.asc] https://packages.adoptium.net/artifactory/deb $(awk -F= '/^VERSION_CODENAME/{print$2}' /etc/os-release) main" | tee /etc/apt/sources.list.d/adoptium.list > /dev/null