summaryrefslogtreecommitdiffstats
path: root/windriver/docker/Dockerfile
diff options
context:
space:
mode:
authorBin Yang <bin.yang@windriver.com>2019-03-08 03:01:53 +0000
committerGerrit Code Review <gerrit@onap.org>2019-03-08 03:01:53 +0000
commit14ccb71096f87ed46ae5897ed5ae991ef2888a19 (patch)
tree1933a66a3076474be5492ac3d8dd0de1ebe864c5 /windriver/docker/Dockerfile
parent57ad556cdbda12ecce07777c812695771f1f7398 (diff)
parentc37fdfb09161eb11ae9662ff63d52e1a50fb0e97 (diff)
Merge "Add https support for multicloud windriver plugin"
Diffstat (limited to 'windriver/docker/Dockerfile')
-rw-r--r--windriver/docker/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/windriver/docker/Dockerfile b/windriver/docker/Dockerfile
index 8c73bc6e..f4e151fc 100644
--- a/windriver/docker/Dockerfile
+++ b/windriver/docker/Dockerfile
@@ -20,15 +20,17 @@ RUN groupadd -r onap && useradd -r -g onap onap
# COPY ./ /opt/windriver/
RUN apt-get update && \
- apt-get install -y memcached wget unzip gcc && \
+ apt-get install -y memcached wget unzip gcc libssl-dev && \
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 --purge remove -y wget unzip gcc && \
+ apt-get --purge remove -y wget unzip gcc libssl-dev && \
apt-get -y autoremove && \
+ mkdir -p /var/log/onap/multicloud/openstack/windriver && \
+ chown onap:onap /var/log/onap -R && \
chown onap:onap /opt/windriver -R
USER onap