From a4ec151a8dd5bb9ddcda6ca48a3fb46c98f25e38 Mon Sep 17 00:00:00 2001 From: Aaron Peschel Date: Thu, 12 Jul 2018 13:49:17 -0700 Subject: [PATCH] Add TLS Certificates to Docker Image (#3457) The Docker image is missing TLS root certificates, and as a result the acs-engine commands fail on TLS when connecting to Azure services via HTTPS. This commit adds the root certificates to the image. --- releases/Dockerfile.linux | 2 ++ 1 file changed, 2 insertions(+) diff --git a/releases/Dockerfile.linux b/releases/Dockerfile.linux index 577a4bed13..7f7ceda216 100644 --- a/releases/Dockerfile.linux +++ b/releases/Dockerfile.linux @@ -17,6 +17,8 @@ LABEL maintainer="Microsoft" \ org.label-schema.vcs-url="https://github.com/Azure/acs-engine.git" \ org.label-schema.docker.cmd="docker run -v \${PWD}:/acs-engine/workspace -it --rm microsoft/acs-engine:$ACSENGINE_VERSION" +RUN apk add --no-cache ca-certificates + ADD "https://github.com/Azure/acs-engine/releases/download/v${ACSENGINE_VERSION}/acs-engine-v${ACSENGINE_VERSION}-linux-amd64.tar.gz" /tmp/acs-engine.tgz RUN mkdir /opt/ && \