Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't Build Android Emulator Docker container for Arm #12

Open
aircraft-cerier opened this issue Oct 17, 2024 · 0 comments
Open

Can't Build Android Emulator Docker container for Arm #12

aircraft-cerier opened this issue Oct 17, 2024 · 0 comments

Comments

@aircraft-cerier
Copy link

Hello,

When trying to build this Dockerfile, I get the following error:

❯ docker build -t android-emulator .

[+] Building 0.1s (13/21)                                                                                                                                                                              docker:desktop-linux
 => [internal] load build definition from Dockerfile                                                                                                                                                                   0.0s
 => => transferring dockerfile: 1.94kB                                                                                                                                                                                 0.0s
 => [internal] load metadata for docker.io/library/eclipse-temurin:latest                                                                                                                                              0.0s
 => [internal] load .dockerignore                                                                                                                                                                                      0.0s
 => => transferring context: 2B                                                                                                                                                                                        0.0s
 => [ 1/17] FROM docker.io/library/eclipse-temurin:latest                                                                                                                                                              0.0s
 => [internal] load build context                                                                                                                                                                                      0.0s
 => => transferring context: 64B                                                                                                                                                                                       0.0s
 => CACHED [ 2/17] RUN apt-get update && apt-get install -y     python3-pip repo wget python-is-python3 unzip curl jq libpcre2-dev adb     && rm -rf /var/lib/apt/lists/*                                              0.0s
 => CACHED [ 3/17] RUN wget https://dl.google.com/android/repository/commandlinetools-linux-11076708_latest.zip -O /tmp/android-sdk.zip                                                                                0.0s
 => CACHED [ 4/17] RUN unzip /tmp/android-sdk.zip -d /opt/android-sdk                                                                                                                                                  0.0s
 => CACHED [ 5/17] RUN mkdir -p /tmp/latest-tools && mv /opt/android-sdk/cmdline-tools/* /tmp/latest-tools                                                                                                             0.0s
 => CACHED [ 6/17] RUN mkdir -p /opt/android-sdk/cmdline-tools/latest && mv /tmp/latest-tools/* /opt/android-sdk/cmdline-tools/latest                                                                                  0.0s
 => CACHED [ 7/17] RUN yes | sdkmanager --update                                                                                                                                                                       0.0s
 => CACHED [ 8/17] RUN yes | sdkmanager --licenses                                                                                                                                                                     0.0s
 => ERROR [ 9/17] COPY linux/emulator/ /opt/android-sdk/emulator/                                                                                                                                                      0.0s
------
 > [ 9/17] COPY linux/emulator/ /opt/android-sdk/emulator/:
------
Dockerfile:23
--------------------
  21 |     RUN yes | sdkmanager --licenses
  22 |
  23 | >>> COPY linux/emulator/ /opt/android-sdk/emulator/
  24 |     COPY package.xml /opt/android-sdk/emulator/package.xml
  25 |
--------------------
ERROR: failed to solve: failed to compute cache key: failed to calculate checksum of ref 09443c8d-3c66-456f-b33c-a951fd0e645b::wwz10e8s5ub2bt9vz7y4nmtr4: "/linux/emulator": not found

Any suggestions?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant