In the current Dockerfile gcc and required libs are not included, which is required when building on arm64.
27.10 gcc -fno-strict-overflow -Wsign-compare -DNDEBUG -g -O3 -Wall -fPIC -DFFI_BUILDING=1 -I/usr/include/ffi -I/usr/include/libffi -I/usr/local/include/python3.12 -c src/c/_cffi_backend.c -o build/temp.linux-aarch64-cpython-312/src/c/_cffi_backend.o
27.10 error: command 'gcc' failed: No such file or directory
27.10 [end of output]
27.10
27.10 note: This error originates from a subprocess, and is likely not a problem with pip.
27.10 ERROR: Failed building wheel for cffi
27.10 Failed to build cffi
27.11 ERROR: Could not build wheels for cffi, which is required to install pyproject.toml-based projects
In the current Dockerfile gcc and required libs are not included, which is required when building on arm64.