From: Ravi Geda Date: Thu, 22 Feb 2018 13:47:14 +0000 (+0000) Subject: Fix the path used to add files into docker image X-Git-Tag: 2.0.0-ONAP~19 X-Git-Url: https://gerrit.onap.org/r/gitweb?p=aai%2Fgizmo.git;a=commitdiff_plain;h=9c7f302c627e498bf0838726a3203a81e7309e1c Fix the path used to add files into docker image The existing path is wrong. Change-Id: I55b3895bf7ca89a9a3358daff326e36afadf7f42 Issue-ID: AAI-790 Signed-off-by: Ravi Geda --- diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile index e4459d1..07fe188 100644 --- a/src/main/docker/Dockerfile +++ b/src/main/docker/Dockerfile @@ -10,12 +10,12 @@ RUN apt-get update && apt-get install -y software-properties-common ## sudo -E is required to preserve the environment. If you remove that line, it will most like freeze at this step RUN sudo -E add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk ## Setup JAVA_HOME, this is useful for docker commandline -ENV JAVA_HOME usr/lib/jvm/java-8-openjdk-amd64 +ENV JAVA_HOME /usr/lib/jvm/java-8-openjdk-amd64 RUN export JAVA_HOME # Build up the deployment folder structure RUN mkdir -p $MICRO_HOME -ADD swm/package/nix/dist_files/appl/crud-api/* $MICRO_HOME/ +ADD swm/package/nix/dist_files/appl/gizmo/* $MICRO_HOME/ RUN mkdir -p $BIN_HOME COPY *.sh $BIN_HOME RUN chmod 755 $BIN_HOME/*