diff options
author | Haibin Huang <haibin.huang@intel.com> | 2019-04-01 09:43:16 +0800 |
---|---|---|
committer | Haibin Huang <haibin.huang@intel.com> | 2019-04-01 09:53:27 +0800 |
commit | 4caaeebda638befff570568313aa58135b6f91f3 (patch) | |
tree | 1ae2caf534f3d764fdb08f45688af7fb101f0eb5 /pike/docker | |
parent | 31a6b223d123ff9fb26a6d0fa43ad327440cd5ca (diff) |
Add https support for multicloud pike plugin
The https endpoint can be enabled by setting env: SSL_ENABLED=true
Change-Id: Iae636bda8fa8ae9c77907e7171e1d93cb54795bc
Issue-ID: MULTICLOUD-535
Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'pike/docker')
-rw-r--r-- | pike/docker/Dockerfile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pike/docker/Dockerfile b/pike/docker/Dockerfile index 4e861b79..441ff568 100644 --- a/pike/docker/Dockerfile +++ b/pike/docker/Dockerfile @@ -34,13 +34,15 @@ EXPOSE 9007 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-pike.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack&a=multicloud-openstack-pike&e=zip&v=1.3.0-SNAPSHOT" && \ unzip -q -o -B /opt/multicloud-openstack-pike.zip -d /opt/ && \ rm -f /opt/multicloud-openstack-pike.zip && \ pip install -r /opt/pike/requirements.txt && \ - apt-get --purge remove -y wget unzip gcc && \ + apt-get --purge remove -y wget unzip gcc libssl-dev && \ + mkdir -p /var/log/onap/multicloud/openstack/pike && \ + chown onap:onap /var/log/onap -R && \ apt-get -y autoremove && \ chown onap:onap /opt/pike -R |