aws / amazon-mwaa-docker-images

Apache License 2.0
26 stars 11 forks source link

Support ARM architecture #163

Open marcosgama opened 1 week ago

marcosgama commented 1 week ago

Describe the bug

I’m encountering an issue while building an MWAA Docker image on my M1 Mac related to the installation of MariaDB packages (step 8/34). The installation script fails with several missing GLIBC dependencies for MariaDB-common, MariaDB-devel, and MariaDB-shared RPMs, specifically needing versions like libc.so.6(GLIBC_2.14)(64bit) and others.

I suspect this issue is related to the architecture difference (ARM vs x86_64), as the MariaDB packages are targeting x86_64 architecture.

Any recommendations for addressing this problem?


To Reproduce Steps to reproduce the behavior:

  1. Clone repository on Mac M1
  2. Create venv
  3. Input credentials in run.sh
  4. Execute run.sh

System Information


Expected behavior

Installation script should complete successfully without interruptions to finish building the image and run Airflow.


Screenshots

image


Additional context

corrosive4354 commented 6 days ago

Check if there is a MariaDB image or package for ARM architecture

You can use servbay to solve this problem, the most professional environment deployment tool on Mac, one-click installation of mariaDB, you can go to their official website to check

dhegberg commented 6 days ago

Updating issue title to reflect that an overall update to support ARM is needed.