Skip to content

Commit 4673c89

Browse files
committed
Update the docker image to python3.11
OpenDev is trying to get consumers of these images to update to newer iterations so that old images can be dropped from the build list. OSC is successfully running voting python3.11 unittest jobs at this point. This should make it safe to update the Docker container image for OSC to python3.11 without risk of regressions. Making this update should bring some (small) performance updates as py311 is generally quicker than py310. As mentioned before it will also allow OpenDev to reduce the set of images that are being built. Change-Id: I01e3c9e27f92205979ea6562b23f0f7f3b431728
1 parent 0fb1cae commit 4673c89

2 files changed

Lines changed: 6 additions & 6 deletions

File tree

.zuul.yaml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -161,8 +161,8 @@
161161
description: Build Docker images.
162162
allowed-projects: openstack/python-openstackclient
163163
requires:
164-
- python-builder-3.10-bookworm-container-image
165-
- python-base-3.10-bookworm-container-image
164+
- python-builder-3.11-bookworm-container-image
165+
- python-base-3.11-bookworm-container-image
166166
provides: osc-container-image
167167
vars: &osc_image_vars
168168
docker_images:
@@ -175,8 +175,8 @@
175175
description: Build Docker images and upload to Docker Hub.
176176
allowed-projects: openstack/python-openstackclient
177177
requires:
178-
- python-builder-3.10-bookworm-container-image
179-
- python-base-3.10-bookworm-container-image
178+
- python-builder-3.11-bookworm-container-image
179+
- python-base-3.11-bookworm-container-image
180180
provides: osc-container-image
181181
secrets:
182182
- name: docker_credentials

Dockerfile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,12 +13,12 @@
1313
# See the License for the specific language governing permissions and
1414
# limitations under the License.
1515

16-
FROM docker.io/opendevorg/python-builder:3.10-bookworm as builder
16+
FROM docker.io/opendevorg/python-builder:3.11-bookworm as builder
1717

1818
COPY . /tmp/src
1919
RUN assemble
2020

21-
FROM docker.io/opendevorg/python-base:3.10-bookworm
21+
FROM docker.io/opendevorg/python-base:3.11-bookworm
2222

2323
COPY --from=builder /output/ /output
2424
RUN /output/install-from-bindep

0 commit comments

Comments
 (0)