From d000db2617e5be66d8c2c5652e0bd11daa2c87f4 Mon Sep 17 00:00:00 2001 From: Areli Fuss Date: Tue, 7 Nov 2017 11:30:49 +0200 Subject: Add test for ADD vs RUN in case of https Body:Add test for ADD vs RUN in case of https Change-Id: Iddb7a4ce93ffc8aa2a669c628fc1b78d783dfa73 Issue-Id: VVP-25 Signed-off-by: Areli Fuss --- Dockerfile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 6964e09..532c62a 100755 --- a/Dockerfile +++ b/Dockerfile @@ -47,7 +47,8 @@ RUN apt-get update -q \ apt-transport-https \ vim \ nano \ - patch + patch \ + curl # Copy assets COPY RELEASE / @@ -61,6 +62,14 @@ ENV RELEASE_PACKAGE gitlab-ce ADD https://packages.gitlab.com/gpg.key key RUN cat key | apt-key add - RUN apt-key list + +#TEST +RUN echo "####### TEST START #########" +ADD https://packages.gitlab.com/login ttt +RUN curl https://packages.gitlab.com/login +RUN echo "####### TEST END #########" + + RUN echo "deb https://packages.gitlab.com/gitlab/${PACKAGECLOUD_REPO}/ubuntu/ `lsb_release -cs` main" > /etc/apt/sources.list.d/gitlab_${RELEASE_PACKAGE}.list RUN apt-get update -- cgit 1.2.3-korg