Skip to content

Commit

Permalink
Support arm64 (#217)
Browse files Browse the repository at this point in the history
* Reduce size of cli docker image by removing tar

fixes: #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: #213

* Support arm64

fixes: #216

Unfortunately, this does mean we lose the security of using a hash for the version.

---------

Co-authored-by: Neil Avery <[email protected]>
  • Loading branch information
big-andy-coates and bluemonk3y authored Oct 9, 2023
1 parent 0876a06 commit 159da04
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
FROM eclipse-temurin:11-jre-focal@sha256:4c1ab549795f20b661bfaaa22716e5e10a8eae66a534e668a1e028683c810efa

FROM eclipse-temurin:11-jre-focal

ARG APP_NAME
ARG APP_VERSION
Expand Down

0 comments on commit 159da04

Please sign in to comment.