summaryrefslogtreecommitdiffstats
path: root/windriver
diff options
context:
space:
mode:
authorXiaohua Zhang <xiaohua.zhang@windriver.com>2019-03-05 03:04:22 +0000
committerXiaohua Zhang <xiaohua.zhang@windriver.com>2019-03-05 03:31:14 +0000
commitc67c38021c18377a65a7d054aa280de5baa64d91 (patch)
treec4a80c7af548c2fdcfc65fe0ee08e86f43c23be0 /windriver
parente179f48706ef7e26c5d0e450a408f5da8568cccd (diff)
Fix Dockerfile issue
Install wget to retrieve zip files Purge and autoremove unused utils Change-Id: I83a619e51f37a11d5295f50c68962021a2bbf6b8 Issue-ID: MULTICLOUD-508 Signed-off-by: Xiaohua Zhang <xiaohua.zhang@windriver.com>
Diffstat (limited to 'windriver')
-rw-r--r--windriver/docker/Dockerfile5
1 files changed, 3 insertions, 2 deletions
diff --git a/windriver/docker/Dockerfile b/windriver/docker/Dockerfile
index 94ae4851..8c73bc6e 100644
--- a/windriver/docker/Dockerfile
+++ b/windriver/docker/Dockerfile
@@ -20,14 +20,15 @@ RUN groupadd -r onap && useradd -r -g onap onap
# COPY ./ /opt/windriver/
RUN apt-get update && \
- apt-get install -y memcached unzip gcc && \
+ apt-get install -y memcached wget unzip gcc && \
cd /opt/ && \
wget -O multicloud-openstack-windriver.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack&a=multicloud-openstack-windriver&e=zip&v=1.3.0-SNAPSHOT" && \
unzip -q -o -B multicloud-openstack-windriver.zip && \
chmod +x /opt/windriver/*.sh && \
rm -f multicloud-openstack-windriver.zip && \
pip install -r /opt/windriver/requirements.txt && \
- apt-get remove -y unzip gcc && \
+ apt-get --purge remove -y wget unzip gcc && \
+ apt-get -y autoremove && \
chown onap:onap /opt/windriver -R
USER onap