diff options
author | Mohammed Naser <mnaser@vexxhost.com> | 2018-04-16 13:30:42 -0700 |
---|---|---|
committer | James Forsyth <jf2512@att.com> | 2018-05-23 20:41:29 +0000 |
commit | a25b378e3401d9bc5a36d4e0ebad0ac4fba73002 (patch) | |
tree | 4cbb7f8506db44e94ec8709481627b3d9b3fc620 | |
parent | 762153cd733f43697679c3f97eba09212cbd2839 (diff) |
Dynamically determine image architecture
The image architecture is currently hardcoded, this patch removes
that hardcoded value to allow for ARM64 builds to go through.
Change-Id: I576949e2f09261007f79efc238cde249426c77e6
Issue-ID: CIMAN-154
Signed-off-by: Mohammed Naser <mnaser@vexxhost.com>
-rw-r--r-- | champ-service/src/main/docker/Dockerfile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/champ-service/src/main/docker/Dockerfile b/champ-service/src/main/docker/Dockerfile index 9b23d00..4d21a1e 100644 --- a/champ-service/src/main/docker/Dockerfile +++ b/champ-service/src/main/docker/Dockerfile @@ -9,7 +9,7 @@ RUN apt-get update # Install and setup java8 RUN apt-get update && apt-get install -y software-properties-common RUN sudo -E add-apt-repository ppa:openjdk-r/ppa && apt-get update && apt-get install -y openjdk-8-jdk -ENV JAVA_HOME usr/lib/jvm/java-8-openjdk-amd64 +ENV JAVA_HOME usr/lib/jvm/java-8-openjdk-$(dpkg --print-architecture) RUN export JAVA_HOME # Build up the deployment folder structure |