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

FR: Public Docker images #22

Open
pataquets opened this issue Oct 30, 2023 · 7 comments
Open

FR: Public Docker images #22

pataquets opened this issue Oct 30, 2023 · 7 comments

Comments

@pataquets
Copy link

I'd like to run the Object Storage emaulator.
Is there any pullable public Docker image available or do I have to build them locally?

If there isn't any available, would be such feature considered for inclusion?
It is feasible with some Github Actions magic and a Docker Hub (free plan) account, which could build & push them automatically on each commit.

@dragonsinth
Copy link
Member

Yeah we've done similar things in https://github.com/fullstorydev/grpcurl so it seems feasible in theory. Dunno if there's enough demand to be worth the lift.

@pataquets pataquets changed the title Support: Public Docker images FR: Public Docker images Oct 30, 2023
@aarontatar-upguard
Copy link

It would be great to have this as a public docker image. It looks like there already is one, it's just quite old: https://registry.hub.docker.com/r/fullstorydev/cbtemulator. It'd be very nice to have an arm64 build, too.

Someone's done this for the gcloud version of the emulator, but it doesn't have persistence. Maybe you can copy their GitHub actions:
https://github.com/ridedott/bigtable-emulator-docker
https://github.com/ridedott/bigtable-emulator-docker/pkgs/container/cloud-bigtable-emulator

(I'm happy to look into it and send a PR, too)

@dragonsinth
Copy link
Member

Oh that's funny, I had no idea. Looks like @franklinlindemberg pushed it. Huh, we'll have to check it out.. it looks like there are Docker build rules. @gpassini do you know how to actually push to docker hub?

@gpassini
Copy link
Contributor

gpassini commented Feb 6, 2025

Yes, we could use Docker's multi-platform build to create images for different platforms, just like we do for grpcurl, for example:
https://github.com/fullstorydev/grpcurl/blob/c32936d71eb1f4bfaa02c25ea31d1ae9e7e35f7a/releasing/do-release.sh#L44-L54

@franklinlindemberg
Copy link
Contributor

@dragonsinth @gpassini This is the original PR where I added the dockerfiles,

This one is when I added the release script #2

I don't recall the details, but I think we had some issues with this strategy in this project. in any case, you might need to add it again since it seems to have been removed

@dragonsinth
Copy link
Member

Hi Franklin!! 😄 👋

@franklinlindemberg
Copy link
Contributor

@dragonsinth Hey man! let me know if you need any help on this, happy to help!

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

5 participants