summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAreli Fuss <af732p@att.com>2017-11-07 11:30:49 +0200
committerAreli Fuss <af732p@att.com>2017-11-07 11:30:49 +0200
commitd000db2617e5be66d8c2c5652e0bd11daa2c87f4 (patch)
treec5806d79879a8d8be598c6427b97290ba08580ac
parentde0fd824b52e33f9090bf852083a7bec2d698317 (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-xDockerfile11
1 files changed, 10 insertions, 1 deletions
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