mahammi commented on code in PR #39920:
URL: https://github.com/apache/airflow/pull/39920#discussion_r1624811190
##########
docs/apache-airflow-providers-amazon/executors/general.rst:
##########
@@ -74,6 +74,13 @@ Then you can build your image by ``cd``-ing to the directory
with the Dockerfile
docker build -t my-airflow-image \
--build-arg aws_default_region=YOUR_DEFAULT_REGION .
+For users on Apple Silicon, you must specify the arch using ``docker buildx``:
+
+.. code-block:: bash
+
+ docker buildx build --platform=linux/amd64 -t my-airflow-image \
Review Comment:
I'm wondering whether hardcoding the platform in the Dockerfile would cause
problems or confusion for the user, if they didn't mean to build _and_ run
under x86.
I think it would be a better idea to leave this up to the user, should they
decide they need to specify x86 architeture. What do you think?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]