Steve Wagner
05/05/2026, 5:00 PMMarvin
05/05/2026, 5:00 PMMarvin
05/05/2026, 5:01 PMSteve Wagner
05/05/2026, 5:01 PMMarvin
05/05/2026, 5:01 PMMarvin
05/05/2026, 5:03 PMpython:<version>-slim
- There is also a conda-based variant, but no UBI-based variant showed up in:
- the current Dockerfiles
- GitHub issues
- GitHub discussions
- docs / deployment docs
From the code-research, the current Dockerfile pattern is essentially:
dockerfile
ARG BASE_IMAGE=python:${PYTHON_VERSION}-slim
FROM ${BASE_IMAGE}
So the important nuance is:
- Officially: no sign of a documented UBI offering or roadmap item
- Technically: the image build setup is flexible enough that a UBI-based image could be used/customized by consumers
There are a couple of likely reasons python-slim remains the default:
- it’s small and familiar
- Debian/`apt` works well with the system packages Prefect images commonly need
- it avoids some compatibility issues seen with other alternatives like Alpine
Relevant references:
- Prefect repo: github.com/PrefectHQ/prefect
- Main Dockerfile: Dockerfile
- Docker image utilities: dockerutils.py
If you want, I can also help with either of these:
1. a UBI-based custom Dockerfile for Prefect workers/flow runs, or
2. checking whether your specific OpenShift / enterprise requirement is likely to work cleanly with Prefect on UBI.Nate
05/05/2026, 5:04 PMSteve Wagner
05/05/2026, 5:07 PMpip install prefect into a UBI9 image.
Though it has been floated that we create a public fork that builds based on UBI.
Our goal (probably quite obvious) is Red Hat certification for use in our product.Nate
05/05/2026, 5:08 PMSteve Wagner
05/05/2026, 5:08 PMNate
05/05/2026, 5:09 PMNate
05/05/2026, 5:09 PMSteve Wagner
05/05/2026, 5:10 PMSteve Wagner
05/05/2026, 5:11 PM