diff options
author | Areli Fuss <af732p@att.com> | 2017-11-07 11:30:49 +0200 |
---|---|---|
committer | Areli Fuss <af732p@att.com> | 2017-11-07 11:30:49 +0200 |
commit | d000db2617e5be66d8c2c5652e0bd11daa2c87f4 (patch) | |
tree | c5806d79879a8d8be598c6427b97290ba08580ac | |
parent | de0fd824b52e33f9090bf852083a7bec2d698317 (diff) |
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 <af732p@att.com>
-rwxr-xr-x | Dockerfile | 11 |
1 files changed, 10 insertions, 1 deletions
@@ -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 |