Fixing the docker jenkins job 33/60333/1
authorArul.Nambi <arul.nambi@amdocs.com>
Mon, 13 Aug 2018 15:08:26 +0000 (11:08 -0400)
committerArul.Nambi <arul.nambi@amdocs.com>
Mon, 13 Aug 2018 15:08:42 +0000 (11:08 -0400)
Issue-ID: AAI-1449
Change-Id: I2e09ae46d0c2c903fd587a45d9daee339ca79d34
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
pom.xml
src/main/docker/Dockerfile

diff --git a/pom.xml b/pom.xml
index 7b0a651..6294bbd 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -341,13 +341,6 @@ limitations under the License.
             <groupId>com.spotify</groupId>
             <artifactId>docker-maven-plugin</artifactId>
             <version>0.4.11</version>
             <groupId>com.spotify</groupId>
             <artifactId>docker-maven-plugin</artifactId>
             <version>0.4.11</version>
-            <dependencies>
-                <dependency>
-                    <groupId>com.github.jnr</groupId>
-                    <artifactId>jnr-unixsocket</artifactId>
-                    <version>0.13</version>
-                </dependency>
-            </dependencies>
             <configuration>
                <verbose>true</verbose>
                <serverId>docker-hub</serverId>
             <configuration>
                <verbose>true</verbose>
                <serverId>docker-hub</serverId>
index 6ccffec..9ef6cb5 100644 (file)
@@ -10,7 +10,7 @@ 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
 ## 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-$(dpkg --print-architecture)
+ENV JAVA_HOME usr/lib/jvm/java-8-openjdk--amd64
 RUN export JAVA_HOME
 
 # Build up the deployment folder structure
 RUN export JAVA_HOME
 
 # Build up the deployment folder structure