Binderhub image cache

On the BinderHub that I manage, one of the images originates from a GitHub repo whose binder/Dockerfile references a ghcr image with the latest tag. It seems that although that image is getting updated/retagged as latest after PR’s are merged,when I point to the GitHub repo on my BinderHub, an earlier version launches. I suspect that there is an older erad2024:latest image in my hub’s cache. Is there a way to force a rebuild on that image? Or more generally, is there a way to force a cache pruning?

You should change it to conform to the documentation:

" When sourcing a pre-existing Docker image with FROM , a tag is required . The tag cannot be latest ."

From:

2 Likes

Thanks @fomightez !! I will note that for the future! :grinning:

1 Like