summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/deployment/docker
diff options
context:
space:
mode:
authorMurali <murali.p@huawei.com>2017-10-25 12:47:34 +0000
committerMurali <murali.p@huawei.com>2017-10-25 12:47:34 +0000
commit0327e655a3cb876dff4d9e320eb520077a82f874 (patch)
treefbeb6f784bbf3d35f3bc34dcaadb4826e9dfdaa9 /vnfmarket-be/deployment/docker
parente8ddb8424f0a6ecf0a1b46ca46f01872b6294bcd (diff)
Fix license issues reported by Steve
Removed node_modules from gerrit and added during installation Change-Id: I616da4ca564724b5cd496849383c62ca121794ac Jira:VNFSDK-115 Signed-off-by: Murali <murali.p@huawei.com>
Diffstat (limited to 'vnfmarket-be/deployment/docker')
-rw-r--r--vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/Dockerfile5
1 files changed, 4 insertions, 1 deletions
diff --git a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/Dockerfile b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/Dockerfile
index 70322788..aa91ac49 100644
--- a/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/Dockerfile
+++ b/vnfmarket-be/deployment/docker/docker-refrepo/src/main/docker/Dockerfile
@@ -37,6 +37,9 @@ ENV CATALINA_HOME /service
# Set up microservice
ADD ./STAGE /service
+RUN yum install -y gcc-c++ make && curl -sL https://rpm.nodesource.com/setup_6.x | bash -
+RUN yum install -y nodejs
+RUN cd /service/webapps/openoui/vnfmarket && npm install phantomjs-prebuilt@2.1.14 --ignore-scripts && npm install
# https://nexus.onap.org/service/local/artifact/maven/redirect?r=snapshots&g=org.onap.vnfsdk.refrepo.marketplace&a=vnf-sdk-marketplace-deployment&e=zip&c=&v=LATEST
# RUN wget -q -O vnf-sdk-marketplace-1.0.0-SNAPSHOT.zip "https://nexus.onap.org/service/local/repositories/snapshots/content/org/onap/vnfsdk/refrepo/vnf-sdk-marketplace-deployment/1.0.0-SNAPSHOT/vnf-sdk-marketplace-deployment-1.0.0-20170515.020618-24.zip" && unzip -q -o -B vnf-sdk-marketplace-1.0.0-SNAPSHOT.zip && rm -f vnf-sdk-marketplace-1.0.0-SNAPSHOT.zip
@@ -45,7 +48,7 @@ EXPOSE 8702
# 90-entrypoint.txt
-
+RUN cd /service
RUN yum clean all
COPY instance-config.sh .