summaryrefslogtreecommitdiffstats
path: root/ocata/docker/Dockerfile
diff options
context:
space:
mode:
authorHaibin Huang <haibin.huang@intel.com>2019-04-01 09:51:56 +0800
committerHaibin Huang <haibin.huang@intel.com>2019-04-01 09:53:28 +0800
commit59edc5d9b0f578e0b799c0350b39a08f9b040ab3 (patch)
tree50029061e74aa5d2d51a61bd1f9bed196f068fcd /ocata/docker/Dockerfile
parent4caaeebda638befff570568313aa58135b6f91f3 (diff)
Add https support for multicloud ocata plugin
The https endpoint can be enabled by setting env: SSL_ENABLED=true Change-Id: Ibc651851edb1dd2e143ba28c784f82562c0c9d30 Issue-ID: MULTICLOUD-535 Signed-off-by: Haibin Huang <haibin.huang@intel.com>
Diffstat (limited to 'ocata/docker/Dockerfile')
-rw-r--r--ocata/docker/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/ocata/docker/Dockerfile b/ocata/docker/Dockerfile
index 985b6442..5f9cd2b3 100644
--- a/ocata/docker/Dockerfile
+++ b/ocata/docker/Dockerfile
@@ -34,14 +34,16 @@ EXPOSE 9006
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-ocata.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack&a=multicloud-openstack-ocata&e=zip&v=1.3.0-SNAPSHOT" && \
unzip -q -o -B /opt/multicloud-openstack-ocata.zip -d /opt/ && \
rm -f /opt/multicloud-openstack-ocata.zip && \
pip install -r /opt/ocata/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/ocata && \
+ chown onap:onap /var/log/onap -R && \
chown onap:onap /opt/ocata -R
RUN mkdir -p /var/log/onap/multicloud/openstack/ocata/