summaryrefslogtreecommitdiffstats
path: root/deliveries/os_Dockerfile
diff options
context:
space:
mode:
authorVictor Morales <victor.morales@intel.com>2017-07-03 16:23:17 -0500
committerVictor Morales <victor.morales@intel.com>2017-07-05 09:21:50 -0500
commit19de351f906523ed86b0221ebea33a8ac2bac9bc (patch)
treed0e06cce7f7684b812da2d009b38f7ca6cabaf33 /deliveries/os_Dockerfile
parentc42a93827465f2e839b1162f72c6833df1a1529b (diff)
Fix ep:1610-1 build process
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>
Diffstat (limited to 'deliveries/os_Dockerfile')
-rw-r--r--deliveries/os_Dockerfile4
1 files changed, 2 insertions, 2 deletions
diff --git a/deliveries/os_Dockerfile b/deliveries/os_Dockerfile
index efba0bdd..b322b547 100644
--- a/deliveries/os_Dockerfile
+++ b/deliveries/os_Dockerfile
@@ -14,7 +14,7 @@ RUN locale-gen $LANG
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/
@@ -68,7 +68,7 @@ COPY configure-and-run.sh /PROJECT/OpenSource/UbuntuEP/
#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"]