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

Fix multi platform CD #1267

Draft
wants to merge 2 commits into
base: master
Choose a base branch
from
Draft

Conversation

bertsky
Copy link
Collaborator

@bertsky bertsky commented Aug 2, 2024

@kba I saw you struggle with my #1239 changes in https://github.com/OCR-D/core/actions/workflows/docker-image.yml afterwards. I did not test the last changes locally (and Github itself could not be used). Sorry about that!

Here is an attempt to at least gain the ARM64 target back. I am still looking for the problem with ppc64le – it used to work the first time, but perhaps now we are hitting the same scikit-build / cmake-python / opencv-python-headless issue as with arm/v7.

To test this locally, it suffices to do:

docker buildx create --name container-builder --bootstrap --use
make docker DOCKER_BUILD="docker buildx build --progress=plain --platform linux/amd64,linux/arm64/v8" DOCKER_BASE_TAG="ghcr.io/ocr-d docker.io/ocrd"

(or play with the platform argument, or do make docker-cuda etc)

@bertsky bertsky marked this pull request as draft August 2, 2024 16:25
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.

1 participant