From 31a6b223d123ff9fb26a6d0fa43ad327440cd5ca Mon Sep 17 00:00:00 2001 From: Haibin Huang Date: Mon, 1 Apr 2019 09:34:30 +0800 Subject: Add https support for multicloud starlingx plugin The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: I2852d705d0d0c11d0b16cb568184296b9c8f25d0 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang --- starlingx/docker/Dockerfile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'starlingx/docker') diff --git a/starlingx/docker/Dockerfile b/starlingx/docker/Dockerfile index a987f4dd..96ae5d54 100644 --- a/starlingx/docker/Dockerfile +++ b/starlingx/docker/Dockerfile @@ -34,7 +34,7 @@ EXPOSE 9009 RUN groupadd -r onap && useradd -r -g onap onap 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 /opt/multicloud-openstack-starlingx.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack&a=multicloud-openstack-starlingx&e=zip&v=1.3.0-SNAPSHOT" && \ unzip -q -o -B /opt/multicloud-openstack-starlingx.zip -d /opt/ && \ @@ -42,6 +42,8 @@ RUN apt-get update && \ pip install -r /opt/starlingx/requirements.txt && \ apt-get --purge remove -y wget unzip gcc && \ apt-get -y autoremove && \ + mkdir -p /var/log/onap/multicloud/openstack/starlingx && \ + chown onap:onap /var/log/onap -R && \ chown onap:onap /opt/starlingx -R RUN mkdir -p /var/log/onap/multicloud/openstack/starlingx/ -- cgit 1.2.3-korg