summaryrefslogtreecommitdiffstats
path: root/deliveries/Dockerfile.portalapps
diff options
context:
space:
mode:
authorChristopher Lott (cl778h) <clott@research.att.com>2017-10-18 16:04:10 -0400
committerChristopher Lott (cl778h) <clott@research.att.com>2017-10-18 17:29:38 -0400
commit764405bc00dd938b54c5a641ddab01f1d67ad861 (patch)
treeaf7e0594b58e4c730143833c14cad4b5c5bab219 /deliveries/Dockerfile.portalapps
parent667356a0ecd88567d9bd7c1926498e1b1e5a957e (diff)
Revise domain name and app context paths
Now uses host simpledemo.onap.org (no more simpledemo.openecomp.org) and context path ONAPPORTAL (no more ECOMPPORTAL). Issue: PORTAL-130 Change-Id: I15a47eae10ed444b8bfc5ba33a8a33a25d5c6ec6 Signed-off-by: Christopher Lott (cl778h) <clott@research.att.com>
Diffstat (limited to 'deliveries/Dockerfile.portalapps')
-rw-r--r--deliveries/Dockerfile.portalapps14
1 files changed, 8 insertions, 6 deletions
diff --git a/deliveries/Dockerfile.portalapps b/deliveries/Dockerfile.portalapps
index f1526597..17677aa8 100644
--- a/deliveries/Dockerfile.portalapps
+++ b/deliveries/Dockerfile.portalapps
@@ -18,6 +18,8 @@ ARG HTTPS_PROXY
ARG TOMCAT=apache-tomcat-8.0.37
ARG TOMCATTAR=${TOMCAT}.tar.gz
ARG TOMCATHOME=/opt/${TOMCAT}
+ARG PORTALCONTEXT=ONAPPORTAL
+ARG SDKCONTEXT=ONAPPORTALSDK
ENV http_proxy $HTTP_PROXY
ENV https_proxy $HTTPS_PROXY
@@ -35,16 +37,16 @@ RUN mkdir -p /opt
RUN mv ${TOMCAT} /opt
WORKDIR ${TOMCATHOME}/webapps
-RUN mkdir ECOMPPORTAL && mkdir ECOMPSDKAPP
+RUN mkdir ${PORTALCONTEXT} && mkdir ${SDKCONTEXT}
# Portal has many parts
-COPY $PORTAL_WAR ECOMPPORTAL
-RUN cd ECOMPPORTAL && unzip -q *.war && rm *.war
-COPY ${FE_DIR} ECOMPPORTAL/public
+COPY $PORTAL_WAR ${PORTALCONTEXT}
+RUN cd ${PORTALCONTEXT} && unzip -q *.war && rm *.war
+COPY ${FE_DIR} ${PORTALCONTEXT}/public
# SDK app has only a war
-COPY $SDK_WAR ECOMPSDKAPP
-RUN cd ECOMPSDKAPP && unzip -q *.war && rm *.war
+COPY $SDK_WAR ${SDKCONTEXT}
+RUN cd ${SDKCONTEXT} && unzip -q *.war && rm *.war
VOLUME ${TOMCATHOME}/logs