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.
This commit is contained in:
Aaron Peschel 2018-07-12 13:49:17 -07:00 коммит произвёл Cecile Robert-Michon
Родитель 8688be3488
Коммит a4ec151a8d
1 изменённых файлов: 2 добавлений и 0 удалений

Просмотреть файл

@ -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/ && \