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

gdal/docker - multi os/arch support, registry/image overrides #2959

Closed
awill1988 opened this issue Sep 22, 2020 · 4 comments
Closed

gdal/docker - multi os/arch support, registry/image overrides #2959

awill1988 opened this issue Sep 22, 2020 · 4 comments

Comments

@awill1988
Copy link
Contributor

Expected behavior and actual behavior.

  1. I expected to be able to run docker pull osgeo/gdal:latest and run it in a raspberry pi. However, the only supported OS/ARCH is linux/amd64 as indicated on Docker Hub.

  2. Additionally, looking at the shell scripts, you cannot provide your own registry/image location. This would be helpful for those seeking to independently build and host their own gdal container.

Steps to reproduce the problem.

  1. Setup docker on a RPi, open a terminal and run docker run osgeo/gdal:latest
  2. Attempt to run gdal/docker/alpine-small/build.sh to build and push, you will see that the BASE_IMAGE_NAME is not dynamic.

Operating system

  1. Linux k8s-master-0 5.4.0-1018-raspi #20-Ubuntu SMP Sun Sep 6 05:11:16 UTC 2020 aarch64 aarch64 aarch64 GNU/Linux
  2. N/A

GDAL version and provenance

(latest)

@rouault
Copy link
Member

rouault commented Sep 22, 2020

I think I'm going to close this as a wontfix. I don't have the build infrastructure to build for a Raspberry Pi. If you can provide modification to the Dockerfile itself as a pull request to be more configurable, please do it, but you'll have to Docker build it yourself.

@rouault rouault closed this as completed Sep 22, 2020
@awill1988
Copy link
Contributor Author

awill1988 commented Sep 22, 2020

Thanks @rouault for being proactive and prompt in handling of this. I probably should have mentioned or waited until my PR was ready, but I do intend to submit a request to update the build scripts that should satisfy all these features without breaking anything you guys the group is doing today. It will presume that the end-user will have docker buildx operational.

Just waiting for the water to boil (takes forever) and to make sure my changes successfully build the linux/arm64 os/arch before I commit and initiate the PR. Should I link this issue to it?

@rouault
Copy link
Member

rouault commented Sep 22, 2020

ok, great. re-opening this ticket until you sumit the PR

@rouault
Copy link
Member

rouault commented Sep 24, 2020

Implemented per #2965

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

2 participants