diff options
author | Haibin Huang <haibin.huang@intel.com> | 2019-04-01 09:34:30 +0800 |
---|---|---|
committer | Haibin Huang <haibin.huang@intel.com> | 2019-04-01 09:53:27 +0800 |
commit | 31a6b223d123ff9fb26a6d0fa43ad327440cd5ca (patch) | |
tree | 538a9b533aed58ac6f4cd258c4962556c131670c /starlingx/docker | |
parent | b322e0914ea5210e9e71d199ed1d41b0e7adddeb (diff) |
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 <haibin.huang@intel.com>
Diffstat (limited to 'starlingx/docker')
-rw-r--r-- | starlingx/docker/Dockerfile | 4 |
1 files changed, 3 insertions, 1 deletions
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/ |