Skip to content

Update Docker command to use --platform flag#1518

Merged
bakpakin merged 1 commit intojanet-lang:masterfrom
pyrmont:bugfix.s390x-workflow
Nov 11, 2024
Merged

Update Docker command to use --platform flag#1518
bakpakin merged 1 commit intojanet-lang:masterfrom
pyrmont:bugfix.s390x-workflow

Conversation

@pyrmont
Copy link
Contributor

@pyrmont pyrmont commented Nov 11, 2024

Beginning with ad77bc3, the following error began occurring in GitHub's test runner when testing with the s390x/ubuntu Docker image:

docker: no matching manifest for linux/amd64 in the manifest list entries.

This may be because s390x/ubuntu images have become an image index and so require a platform specification (see nodejs/docker-node#2110 (comment)).

This PR adds the --platform flag to the relevant Docker command in the GitHub workflow file to fix this problem.

@pyrmont pyrmont changed the title Update Docker command to use --platform flag Update Docker command to use --platform flag Nov 11, 2024
@bakpakin
Copy link
Member

Lol thank you. I had played around with this but am by no means a docker expert.

@bakpakin bakpakin merged commit 9f4497a into janet-lang:master Nov 11, 2024
@pyrmont pyrmont deleted the bugfix.s390x-workflow branch November 11, 2024 23:43
@pyrmont
Copy link
Contributor Author

pyrmont commented Nov 11, 2024

Hahahaha, I can't take any real credit. I really just copied the fix in yarnpkg/berry#6414 :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants