summaryrefslogtreecommitdiffstats
path: root/fcaps/docker/Dockerfile
diff options
context:
space:
mode:
authorLiexiang Yue <yueliexiang@chinamobile.com>2019-04-08 16:23:05 +0800
committerLiexiang Yue <yueliexiang@chinamobile.com>2019-04-08 16:23:05 +0800
commit5dc8f722d834229c27aab4ae2e8a609db09edb0d (patch)
treee42afcd0e9db62907f059260fc47d693a0be32b4 /fcaps/docker/Dockerfile
parent34fe8cbca786d59ccc2550a1f20b4b7d20b3aae7 (diff)
Add secured https support for FCAPS
Issue-ID: MULTICLOUD-522 Change-Id: I0d08093d09a450313a2ca29372f65d794dce9502 Signed-off-by: Liexiang Yue <yueliexiang@chinamobile.com>
Diffstat (limited to 'fcaps/docker/Dockerfile')
-rw-r--r--fcaps/docker/Dockerfile6
1 files changed, 4 insertions, 2 deletions
diff --git a/fcaps/docker/Dockerfile b/fcaps/docker/Dockerfile
index 6484905b..d3c37502 100644
--- a/fcaps/docker/Dockerfile
+++ b/fcaps/docker/Dockerfile
@@ -20,7 +20,7 @@ RUN groupadd -r onap && useradd -r -g onap onap
# COPY ./ /opt/fcaps/
RUN apt-get update && \
- apt-get install -y memcached wget unzip gcc && \
+ apt-get install -y memcached wget unzip gcc libssl-dev && \
apt-get install -y unzip && \
cd /opt/ && \
wget -O multicloud-openstack-fcaps.zip "https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.multicloud.openstack&a=multicloud-openstack-fcaps&e=zip&v=1.3.0-SNAPSHOT" && \
@@ -28,8 +28,10 @@ RUN apt-get update && \
chmod +x /opt/fcaps/*.sh && \
rm -f multicloud-openstack-fcaps.zip && \
pip install -r /opt/fcaps/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/fcaps && \
+ chown onap:onap /var/log/onap -R && \
chown onap:onap /opt/fcaps -R
USER onap