Given a GitHub repository and a valid commit reference (ID, tag or branch), how can I get the name of the image that BinderHub would use? I’m interested in a REST API endpoint that does not trigger a Docker container build.
cc @minrk
Given a GitHub repository and a valid commit reference (ID, tag or branch), how can I get the name of the image that BinderHub would use? I’m interested in a REST API endpoint that does not trigger a Docker container build.
cc @minrk
I think currently, image names are considered an internal implementation detail and there’s no way to know what image would be built without triggering a full build. If the image already exists though, the build won’t happen and you’d just get back an image name. You can also now run binderhub in api_only_mode
that will just build and not launch.
Thanks @yuvipanda for the reply.
image names are considered an internal implementation detail
This was my impression when I read the binderhub
source code. The image name was baked inside the source code and reuse it was very hard.