The current process refers to two non-existing folders. When the
build process tries to use those folders fails and the image is
not created. Apparently the compilation order of ecomp-portal-FE-os
depends on epsdk-app-os. Lastly, the installation of openjdk-8-jdk
requires the --force-yes flag.
Change-Id: If998393cd90a6f4a31806699423e90bfd0df8f30
Signed-off-by: Victor Morales <victor.morales@intel.com>
RUN add-apt-repository ppa:openjdk-r/ppa
# Install java8
-RUN apt-get update && apt-get install -y openjdk-8-jdk
+RUN apt-get update && apt-get install -y --force-yes openjdk-8-jdk
# Setup JAVA_HOME, this is useful for docker commandline
ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64/
#RUN cp -r ${FE_DIR}/dist/public ${SDKHOME}/public
-COPY ${FE_DIR}/dist/public ${SDKHOME}/public
+COPY ${FE_DIR}/dist/public ${SDKHOME}
# Define default command.
#CMD ["bash"]
CMD ["/PROJECT/OpenSource/UbuntuEP/configure-and-run.sh"]
shopt -s expand_aliases
source ~/.bashrc
-cd $PROJECTDIR/ecomp-portal-FE-os/
-
-${MVN} clean install
cd $PROJECTDIR/ecomp-portal-BE-common
${MVN} install
-mv target/epsdk-app-os-1.1.0-SNAPSHOT target/ep-sdk-app
+cd $PROJECTDIR/ecomp-portal-FE-os/
+
+${MVN} install
+
+mv target/epsdk-app-os-1.1.0 target/ep-sdk-app
# now install DBC app
cd $SOURCEDIR