Closed mkusaka closed 1 year ago
The --platform linux/amd64 is now explicitly specified.
--platform linux/amd64
When trying to build cimg-ruby(browsers) or other packages on M1 mac, the following error may occur due to platforms not supported by some packages.
=> ERROR [6/6] RUN wget -q -O - "https://dl.google.com/linux/linux_signing_key.pub" | sudo apt-key add - && echo "deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main" | sudo tee /etc/apt/sources.list.d/google-chrome.list && sudo apt-get update && sudo apt-get install google-chrome-stable && sudo rm -rf /var/lib/apt/lists/* 8.3s
This can be worked around by explicitly specifying the --platform option in the docker build.
The
--platform linux/amd64
is now explicitly specified.When trying to build cimg-ruby(browsers) or other packages on M1 mac, the following error may occur due to platforms not supported by some packages.
This can be worked around by explicitly specifying the --platform option in the docker build.