[
https://issues.apache.org/jira/browse/TINKERPOP-2808?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17613258#comment-17613258
]
ASF GitHub Bot commented on TINKERPOP-2808:
-------------------------------------------
cole-bq opened a new pull request, #1821:
URL: https://github.com/apache/tinkerpop/pull/1821
https://issues.apache.org/jira/browse/TINKERPOP-2808
Compatibility fixes for ARM based Macs
Updated base images for gremlin-server and gremlin-console docker images to
support arm64:
The previously used adopt openjdk11 alpine linux image does not support
arm64. In fact none of the major openjdk distributions maintain a jdk11 alpine
image for arm64. Changed base image to alpine and installed oracle openjdk 11.
Oracle openjdk 11 was chosen as it is already maintained in the APK community
repository.
Added jansi as an explicit dependency of gremlin-console. Previously it was
a dependency of jline which itself is a dependency of groovy. The console is
able to run just fine on x64 architectures but it cannot run on arm JDK's
without importing Jansi directly. This change resolves
[TINKERPOP-2584](https://issues.apache.org/jira/browse/TINKERPOP-2584) at least
for ARM Macs.
Updated dev docs with instructions to configure docker desktop for better
performance on apple silicon.
> Improve Compatibility on ARM machines
> -------------------------------------
>
> Key: TINKERPOP-2808
> URL: https://issues.apache.org/jira/browse/TINKERPOP-2808
> Project: TinkerPop
> Issue Type: Improvement
> Reporter: Cole Greer
> Priority: Major
>
> The docker images for gremlin-server and gremlin-console both use
> adoptopenjdk/openjdk11:alpine-slim as the base image. This image only
> supports x86_64 which creates build problems for ARM users, and once build
> issues have been overcome it still forces ARM users to run the container
> through emulation which has a significant performance penalty.
> [TINKERPOP-2584|https://issues.apache.org/jira/browse/TINKERPOP-2584] is a
> related issue which is preventing the console from running in ARM
> environments.
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)