You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Building the Docker image for macOS on ARM architecture encounters failures. To address this amd64 specific packages should be replaced with their arm64 counterparts when arm64 is passed as a build arg. Additionally going forward GitHub Actions’ M1 macOS runner are now publicly available and can be leveraged. (GitHub Changelog)
Steps to Reproduce:
1. Attempt to build the Docker image on a macOS ARM machine.
2. Observe the build process failing.
Expected Behavior:
The Docker image should build successfully on macOS ARM architecture.
Actual Behavior:
The build process fails on macOS ARM architecture.
11.45 E: Package 'gcc-multilib' has no installation candidate
------
1 warning found (use docker --debug to expand):
- FromAsCasing: 'as' and 'FROM' keywords' casing do not match (line 1)
Dockerfile:16
--------------------
15 | # python 3.8 is installed by toolchain manager hence older version of libffi is required
16 | >>> RUN <<EOT
17 | >>> apt-get -y update
18 | >>> apt-get -y upgrade
19 | >>> apt-get -y install wget unzip clang-format gcc-multilib make libffi7
20 | >>> apt-get -y clean
21 | >>> rm -rf /var/lib/apt/lists/*
22 | >>> EOT
23 |
--------------------
ERROR: failed to solve: process "/bin/bash -euxo pipefail -c apt-get -y update\n apt-get -y upgrade\n apt-get -y install wget unzip clang-format gcc-multilib make libffi7\n apt-get -y clean\n rm -rf /var/lib/apt/lists/*\n" did not complete successfully: exit code: 100
Description:
Building the Docker image for macOS on ARM architecture encounters failures. To address this amd64 specific packages should be replaced with their arm64 counterparts when arm64 is passed as a build arg. Additionally going forward GitHub Actions’ M1 macOS runner are now publicly available and can be leveraged. (GitHub Changelog)
Steps to Reproduce:
Expected Behavior:
The Docker image should build successfully on macOS ARM architecture.
Actual Behavior:
The build process fails on macOS ARM architecture.
Same as in issue #107
Proposed Solution:
Resolve amd64 package incompatibilities in Dockerfile.
Update the GitHub Actions workflow to utilize M1 macOS runners
The text was updated successfully, but these errors were encountered: