aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-08-13 10:23:38 -0400
committerArul.Nambi <arul.nambi@amdocs.com>2018-08-13 10:27:43 -0400
commit599c988e98782a515ab798b34e5b5825e45e178e (patch)
treefa052443521b6100c223d7426c683b776d27cc91
parent1790f2067c262c2a539950da0389c3e6a44dcf7e (diff)
Fixing the docker jenkins job
Issue-ID: AAI-1449 Change-Id: I5cda30518c34d52e49bb61055e29aaf839e090c6 Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
-rw-r--r--pom.xml7
-rw-r--r--src/main/docker/Dockerfile2
2 files changed, 1 insertions, 8 deletions
diff --git a/pom.xml b/pom.xml
index df06761..844321b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -362,13 +362,6 @@
<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>
diff --git a/src/main/docker/Dockerfile b/src/main/docker/Dockerfile
index e4d89a4..1fd2b1d 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -11,7 +11,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
-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