Android docker image fails to run bitrise on ARM macbook

I’m trying to run the following step inside the quay.io/bitriseio/android:latest docker image on a new M1 (arm) MacBook. I’m running this step with bitrise run test after bashing into the container.

- avd-manager@1:
    title: AVD Manager - create emulator
    inputs:
    - emulator_id: Android_Emulator_E2E_Test
    - start_command_flags: "-camera-back none -camera-front none -no-window -netdelay
        none -wipe-data -verbose -show-kernel -no-audio -gpu swiftshader_indirect"
    - api_level: '29'   

The specific error message changes from run to run, but here is an example:

#=                                      ] 3% Fetch remote repository...         
# A fatal error has been detected by the Java Runtime Environment:
#
#  [thread 279234336512 also had an error]
[thread 279099066112 also had an error]
SIGSEGV (0xb) at pc=0x000000400d97be82, pid=974, tid=0x00000040f389b700
#
# JRE version: OpenJDK Runtime Environment (8.0_292-b10) (build 1.8.0_292-8u292-b10-0ubuntu1~16.04.1-b10)
# Java VM: OpenJDK 64-Bit Server VM (25.292-b10 mixed mode linux-amd64 compressed oops)
# Problematic frame:
# J 2072 C1 sun.security.ssl.CipherSuite.nameOf(Ljava/lang/String;)Lsun/security/ssl/CipherSuite; (56 bytes) @ 0x000000400d97be82 [0x000000400d97be80+0x2]
#
# Failed to write core dump. Core dumps have been disabled. To enable core dumping, try "ulimit -c unlimited" before starting Java again
#
[thread 277475821312 also had an error]
[thread 277611091712 also had an error]

The image appears to be built under linux/amd64 and what I’m reading seems to indicate ‘all bets are off’. Is there an arm64 build of this image, or should I try doing that myself? Or am I misunderstanding the issue?

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.