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

Specify platform for images in Dockerfiles #146

Closed
hangler opened this issue Nov 19, 2024 · 1 comment
Closed

Specify platform for images in Dockerfiles #146

hangler opened this issue Nov 19, 2024 · 1 comment

Comments

@hangler
Copy link
Collaborator

hangler commented Nov 19, 2024

When building the images locally (e.g. via bash do oc-build) on a Mac with an M chip, the build, once deployed, will not work due to platform incompatibilities.

In the Dockerfiles, can be fixed by:

  • Adding a --platform=linux/amd64 switch when specifying FROM ... for the node base images
  • Using the -bookworm-slim-amd64 version of the dotnet base images
@hangler
Copy link
Collaborator Author

hangler commented Dec 13, 2024

Fixed as part of #141.

@hangler hangler closed this as completed Dec 13, 2024
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

No branches or pull requests

1 participant