Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make sure the container is run in a supported architecture for unsupported architectures #16

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

tishun
Copy link

@tishun tishun commented Mar 19, 2024

Fixes issues with MacOS

see discussion on the topic

build.sh Outdated
@@ -1,4 +1,5 @@
#!/bin/bash
export DOCKER_DEFAULT_PLATFORM=linux/amd64
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What about applying this changes in docker-compose.yml, would it makes more sense? Like this:

platform: linux/amd64

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

let me check if it has the same result, but quite probably yours is the better approach

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

works like a charm

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