diff options
author | Areli Fuss <af732p@att.com> | 2017-11-05 19:04:38 +0200 |
---|---|---|
committer | Areli Fuss <af732p@att.com> | 2017-11-05 19:04:38 +0200 |
commit | de0fd824b52e33f9090bf852083a7bec2d698317 (patch) | |
tree | 0c0fa9544a8e9eab3a1e39c9fb134e75f45a345b /Dockerfile | |
parent | e8df04c680d128453827dc443fd21b1083dbb2a5 (diff) |
Move apt-get update to Dockerfile
Move apt-get update to Dockerfile
Change-Id: Ic2eb22593462cdf261a8b547068da4ab7759dcb0
Issue-Id: VVP-25
Signed-off-by: Areli Fuss <af732p@att.com>
Diffstat (limited to 'Dockerfile')
-rwxr-xr-x | Dockerfile | 13 |
1 files changed, 10 insertions, 3 deletions
@@ -49,14 +49,21 @@ RUN apt-get update -q \ nano \ patch +# Copy assets +COPY RELEASE / +COPY assets/ /assets/ + #Workaround for onap +ENV RELEASE_VERSION 8.6.1-ce.0 +ENV PACKAGECLOUD_REPO gitlab-ce +ENV RELEASE_PACKAGE gitlab-ce + ADD https://packages.gitlab.com/gpg.key key RUN cat key | apt-key add - RUN apt-key list +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 -# Copy assets -COPY RELEASE / -COPY assets/ /assets/ RUN /assets/setup # Allow to access embedded tools |