Update the docker images to python 3.10

Do this to take advantage of python 3.10's speed improvements as
illustrated by Zuul proper. But als OpenDev is looking at dropping
python 3.8 image builds to make room for python 3.11.

Change-Id: I0bb4902d32003ab8e8fb35e6cc39e62ceed88aa8
This commit is contained in:
Clark Boylan 2022-10-14 14:47:10 -07:00
parent ab00ececc4
commit 5873797641
3 changed files with 7 additions and 2 deletions

View File

@ -31,6 +31,8 @@
- zuul-container-image
- zuul-registry-container-image
- nodepool-container-image
- python-builder-3.10-bullseye-container-image
- python-base-3.10-bullseye-container-image
provides:
- zuul-operator-container-image
vars: &image_vars
@ -75,6 +77,8 @@
- nodepool-container-image
provides:
- zuul-operator-container-image
- python-builder-3.10-bullseye-container-image
- python-base-3.10-bullseye-container-image
vars: *image_vars
- job:

View File

@ -13,12 +13,12 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM docker.io/opendevorg/python-builder:3.8 as builder
FROM docker.io/opendevorg/python-builder:3.10-bullseye as builder
COPY . /tmp/src
RUN assemble
FROM docker.io/opendevorg/python-base:3.8
FROM docker.io/opendevorg/python-base:3.10-bullseye
COPY --from=builder /output/ /output
RUN /output/install-from-bindep

View File

@ -30,6 +30,7 @@ classifier =
Programming Language :: Python :: 3.7
Programming Language :: Python :: 3.8
Programming Language :: Python :: 3.9
Programming Language :: Python :: 3.10
Programming Language :: Python :: 3 :: Only
Topic :: Software Development :: Quality Assurance
Topic :: Software Development :: Testing