Hi Sebastian,

We have dropped the "wikimedia-" prefix for base distribution images, you
can safely use the "bookworm" image
<https://docker-registry.wikimedia.org/bookworm> as a base image.

Regarding python images, the python-build-* images
<https://gerrit.wikimedia.org/r/plugins/gitiles/operations/docker-images/production-images/+/refs/heads/master/images/python-build/>
are for building wheels that can be copied over to a runtime image. The
python3-bullseye
<https://gerrit.wikimedia.org/r/plugins/gitiles/operations/docker-images/production-images/+/refs/heads/master/images/python/bullseye/Dockerfile.template>
and python3-buster
<https://gerrit.wikimedia.org/r/plugins/gitiles/operations/docker-images/production-images/+/refs/heads/master/images/python/buster/Dockerfile.template>
images are runtime images. The python3 image (without suffix) is
deprecated.  We do not yet produce a python3-bookworm image, although I
think that can be arranged pretty easily.

In the meantime, using the bookworm image and using blubber's apt directive
to install python3, python3-pip, and python3-setuptools will give you the
same thing.

All these images are base and production images
<https://gerrit.wikimedia.org/r/plugins/gitiles/operations/docker-images/production-images/+/refs/heads/master>
images built through docker-pkg <https://doc.wikimedia.org/docker-pkg/>
following the "generations" outlined in our Kubernetes image building policy
<https://wikitech.wikimedia.org/wiki/Kubernetes/Images#Image_building>.

Hope this helps,

On Fri, Feb 16, 2024 at 10:49 AM Sebastian Berlin <
[email protected]> wrote:

> I'm updating some blubberised repos that a colleague of mine created some
> time ago and I'm not sure what base images from the Docker registry
> <https://docker-registry.wikimedia.org/> are the best to use.
>
> For instance, one repo uses docker-registry.wikimedia.org/wikimedia-buster
> as base image in .pipeline/blubber.yaml. I thought I'd update to Bookworm
> as the newest stable Debian release, but there is no image
> "wikimedia-bookworm", only "bookworm". I'd like to know what's different in
> the the ones with the wikimedia- prefix.
>
> There are also several different ones for Python, e.g. "python3",
> "python3-buster" and "python3-build-buster".
>
> Is there documentation somewhere or links to repos where I can see what
> Docker or Blubber files were used to create them?
>
> *Sebastian Berlin*
> Utvecklare/*Developer*
> Wikimedia Sverige (WMSE)
>
> E-post/*E-Mail*: [email protected]
> Telefon/*Phone*: (+46) 0707 - 92 03 84
> _______________________________________________
> Wikitech-l mailing list -- [email protected]
> To unsubscribe send an email to [email protected]
> https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/



-- 
Clément Goubert (they/them)
Senior SRE
Wikimedia Foundation
_______________________________________________
Wikitech-l mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://lists.wikimedia.org/postorius/lists/wikitech-l.lists.wikimedia.org/

Reply via email to