Open hawkishpolicy opened 4 months ago
What's wrong? Please be specific.
It appears Apple Silicone based machines cannot find your local PYTHON installation when running APK update && APK upgrade during the Docker build.
Steps to reproduce the behavior:
What did you expect to happen that didn't? Local environment should build then you can sync and populate the db.
Paste the results here:
Add any screenshots of the problem here.
Adding the following to Line 4 in backend/Dockerfile resolves the "npm ERR! gyp ERR! find Python" error:
&& apk add --no-cache g++ make py3-pip
🐛 Summary
What's wrong? Please be specific.
It appears Apple Silicone based machines cannot find your local PYTHON installation when running APK update && APK upgrade during the Docker build.
To reproduce
Steps to reproduce the behavior:
Expected behavior
What did you expect to happen that didn't? Local environment should build then you can sync and populate the db.
Any helpful log output or screenshots
Paste the results here:
Add any screenshots of the problem here.![Screenshot 2024-02-28 at 10 01 31 AM](https://github.com/cisagov/crossfeed/assets/123108455/9de4a1bd-8522-466e-b36a-bf1773f37ed7)