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

build(gdal/docker): registry/image/tag, multi arch support #2965

Merged
merged 2 commits into from
Sep 24, 2020
Merged

build(gdal/docker): registry/image/tag, multi arch support #2965

merged 2 commits into from
Sep 24, 2020

Conversation

awill1988
Copy link
Contributor

What does this PR do?

This PR will alter the docker build scripts to optionally allow building multi-arch and pushing those manifests to registries. This effectively enables containers with ARM support for devices such as Raspberry Pi.

What are related issues/pull requests?

Completes #2959

Tasklist

  • Setup docker buildx, follow a MacOS guide here
  • Enter the gdal/docker directory
  • Test regular build running alpine-ultrasmall/build.sh --release --gdal v3.1.3 --proj master
  • Test multiarch support build with alpine-ultrasmall/build.sh --with-multi-arch --release --gdal v3.1.3 --proj master --platform linux/arm64,linux/amd64 --push
  • Test multiarch support build and custom image with BASE_IMAGE_NAME="${dockerhub_username}/gdal" alpine-ultrasmall/build.sh --with-multi-arch --release --gdal v3.1.3 --proj master --platform linux/arm64,linux/amd64 --push

Environment

Provide environment details, if relevant:

  • OS: MacOS
  • Compiler: N/A (sort of, it's Docker w/ QEMU)

@rouault
Copy link
Member

rouault commented Sep 23, 2020

This looks great. Would you mind adding a section in docker/README.md documenting those new capabilities ?

@awill1988
Copy link
Contributor Author

looks like the MacOS build failed because of reset connection, not sure what happened there.

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