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

Support multiple platforms for the Docker images #1049

Closed
2 tasks done
adamtheturtle opened this issue Dec 26, 2021 · 1 comment · Fixed by #1050
Closed
2 tasks done

Support multiple platforms for the Docker images #1049

adamtheturtle opened this issue Dec 26, 2021 · 1 comment · Fixed by #1050

Comments

@adamtheturtle
Copy link
Member

adamtheturtle commented Dec 26, 2021

If we follow the instructions in https://vws-python-mock.readthedocs.io/en/latest/docker.html, we get warnings like:

WARNING: The requested image's platform (linux/amd64) does not match the detected host platform (linux/arm64/v8) and no specific platform was requested

This issue covers removing that.

I believe that the steps include:

  • Use Buildx
  • Set multiple platforms

Buildx support may start with:

      - name: Set up Docker Buildx
        uses: docker/setup-buildx-action@v1

We may run into docker/buildx#593.

@adamtheturtle
Copy link
Member Author

We are now using Buildx but with the docker driver (not docker-container).
This doesn't allow for multiple platforms.
Next step is likely to switch to the docker-container driver and then use:

platforms: linux/amd64,linux/arm64

where we want.

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 a pull request may close this issue.

1 participant