summaryrefslogtreecommitdiffstats
path: root/vnfmarket-be/deployment/docker/docker-refrepo
diff options
context:
space:
mode:
Diffstat (limited to 'vnfmarket-be/deployment/docker/docker-refrepo')
-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 .