From c37fdfb09161eb11ae9662ff63d52e1a50fb0e97 Mon Sep 17 00:00:00 2001 From: Xiaohua Zhang Date: Fri, 8 Mar 2019 03:52:45 +0000 Subject: Add https support for multicloud windriver plugin The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I4a081bc47bf7be62ddc87407344d2cd580bba5b7 Issue-ID: MULTICLOUD-519 Signed-off-by: Xiaohua Zhang --- windriver/docker/Dockerfile | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'windriver/docker') 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 -- cgit 1.2.3-korg