summaryrefslogtreecommitdiffstats
path: root/windriver/docker/Dockerfile
diff options
context:
space:
mode:
Diffstat (limited to 'windriver/docker/Dockerfile')
-rw-r--r--windriver/docker/Dockerfile6
1 files changed, 3 insertions, 3 deletions
diff --git a/windriver/docker/Dockerfile b/windriver/docker/Dockerfile
index 376fa951..94ae4851 100644
--- a/windriver/docker/Dockerfile
+++ b/windriver/docker/Dockerfile
@@ -1,4 +1,4 @@
-FROM python:2
+FROM python:2-slim
ARG HTTP_PROXY=${HTTP_PROXY}
ARG HTTPS_PROXY=${HTTPS_PROXY}
@@ -20,14 +20,14 @@ RUN groupadd -r onap && useradd -r -g onap onap
# COPY ./ /opt/windriver/
RUN apt-get update && \
- apt-get install -y memcached && \
- apt-get install -y unzip && \
+ apt-get install -y memcached 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 && \
chown onap:onap /opt/windriver -R
USER onap