From bb838a20a272fd6e808082a603319cc40a90a402 Mon Sep 17 00:00:00 2001 From: Venkata Harish K Kajur Date: Mon, 20 Feb 2017 23:18:22 +0000 Subject: Update curl insecure connection Change-Id: I52523437eb431dacc23b5a385c0e03db711bf7be Signed-off-by: Venkata Harish K Kajur --- ajsc-aai/src/main/resources/docker/Dockerfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'ajsc-aai') diff --git a/ajsc-aai/src/main/resources/docker/Dockerfile b/ajsc-aai/src/main/resources/docker/Dockerfile index 02d8a54..b3bc437 100644 --- a/ajsc-aai/src/main/resources/docker/Dockerfile +++ b/ajsc-aai/src/main/resources/docker/Dockerfile @@ -24,8 +24,9 @@ RUN apt-get install --reinstall ca-certificates && sudo -E add-apt-repository pp # Setup JAVA_HOME, this is useful for docker commandline ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 -# Install Chef -RUN curl -LO https://packages.chef.io/stable/ubuntu/14.04/chefdk_0.17.17-1_amd64.deb +# Install Chef using insecure mode and if it fails try tlsv1 +RUN curl -k -LO https://packages.chef.io/stable/ubuntu/14.04/chefdk_0.17.17-1_amd64.deb || \ + curl --tlsv1 -LO https://packages.chef.io/stable/ubuntu/14.04/chefdk_0.17.17-1_amd64.deb RUN dpkg -i chefdk_0.17.17-1_amd64.deb RUN rm chefdk_0.17.17-1_amd64.deb -- cgit 1.2.3-korg