From 159da042bb47cf216965b8717627081b0ee17282 Mon Sep 17 00:00:00 2001 From: Andy Coates <8012398+big-andy-coates@users.noreply.github.com> Date: Mon, 9 Oct 2023 14:40:40 +0100 Subject: [PATCH] Support arm64 (#217) * Reduce size of cli docker image by removing tar fixes: https://github.com/specmesh/specmesh-build/issues/213 Have the Gradle build unpack the distribution tar archive. This means there is no need to install tar or to have the tar file in the Docker image. * oops - still need to copy the expanded archive in * Switch to a smaller base image fixes: https://github.com/specmesh/specmesh-build/issues/213 * Support arm64 fixes: https://github.com/specmesh/specmesh-build/issues/216 Unfortunately, this does mean we lose the security of using a hash for the version. --------- Co-authored-by: Neil Avery --- cli/Dockerfile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cli/Dockerfile b/cli/Dockerfile index a524420a..598d2303 100644 --- a/cli/Dockerfile +++ b/cli/Dockerfile @@ -1,4 +1,5 @@ -FROM eclipse-temurin:11-jre-focal@sha256:4c1ab549795f20b661bfaaa22716e5e10a8eae66a534e668a1e028683c810efa + +FROM eclipse-temurin:11-jre-focal ARG APP_NAME ARG APP_VERSION