summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorArul.Nambi <arul.nambi@amdocs.com>2018-08-13 11:14:16 -0400
committerArul.Nambi <arul.nambi@amdocs.com>2018-08-13 11:14:42 -0400
commit44336d2b99765b9c4831a9943adbb2a848445d4e (patch)
tree4324db56ddd89daf01469da38d98403aa64aae93
parentac22fb51b1383f182b847d2c538a2c39d259ab6c (diff)
Fixing the docker jenkins job
Issue-ID: AAI-1449 Change-Id: I4f4e03f4db51a01d6f50b74bcb365e99844d0068 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 f2ccb0d..7420475 100644
--- a/pom.xml
+++ b/pom.xml
@@ -369,13 +369,6 @@ limitations under the License.
<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 c643b2e..1652d90 100644
--- a/src/main/docker/Dockerfile
+++ b/src/main/docker/Dockerfile
@@ -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
-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