Open
Description
Describe the bug
The buildpack fails while attempting to install node when running in docker on apple silicon.
The expected behaviour is that the binaries install correctly.
To Reproduce
Steps to reproduce the behavior:
On an apple silicon machine with docker desktop installed:
- Download the Dockerfile.txt
- Remove the
.txt
extension - run
docker build . --platform=linux/amd64
- See error fail.log
Versions (please complete the following information):
- heroku-20
- node 14.x
- NPM or Yarn Version: [e.g.
Yarn 1.22.10
] - latest (https://github.com/heroku/heroku-buildpack-nodejs/archive/refs/tags/latest.zip)
Additional context
Running heroku:20 and the buildpack in docker to create heroku-like runtime environment for local dev.
.