Skip to content

Commit

Permalink
Patch for arch linux issue, see #47
Browse files Browse the repository at this point in the history
  • Loading branch information
uraimo committed Jul 18, 2021
1 parent e57e96d commit c8e4507
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/run-on-arch.js
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,11 @@ async function main() {
// https://github.com/moby/moby/issues/36552#issuecomment-582051871
const dockerPlatform = archToDockerPlatform[arch] || archToDockerPlatform.amd64

//Fixes issue with wrongly tagged Arch Linux image
if(distro=="archarm_latest"){
dockerPlatform="linux/amd64"
}

console.log('Configuring Docker for multi-architecture support')
await exec(
path.join(__dirname, 'run-on-arch.sh'),
Expand Down

0 comments on commit c8e4507

Please sign in to comment.