Skip to content

Update Dockerfile for ARM #2653

Closed as not planned
Closed as not planned
@rbebb

Description

@rbebb

Checklist

  • the issue is indeed a bug and not a support request
  • issue doesn't already exist: https://github.com/kivy/python-for-android/issues
  • I have a short, runnable example that reproduces the issue
  • I reproduced the problem with the latest development version (p4a.branch = develop)
  • I used the grave accent (aka backticks) to format code or logs when appropriated

Versions

  • Python: Default
  • OS: macOS Monterey (12.5) on Apple Silicon (M1)
  • Kivy: Default
  • Cython: Default
  • OpenJDK: Default

Description

Docker builds an x86 image instead of an ARM image. The Dockerfile just needs to be updated to remove references to i386 (x86). I found this out after using the P4A image as the base for another image on an M1 machine running macOS Monterey.

buildozer.spec

N/A

Logs

The following occurs after running a Docker image with the P4A image as the base image:

WARNING: The requested image’s platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions