Merge "Update the docker image to python3.11"

This commit is contained in:
Zuul 2023-11-01 10:49:31 +00:00 committed by Gerrit Code Review
commit 8b253cbda8
2 changed files with 6 additions and 6 deletions

View File

@ -161,8 +161,8 @@
description: Build Docker images.
allowed-projects: openstack/python-openstackclient
requires:
- python-builder-3.10-bookworm-container-image
- python-base-3.10-bookworm-container-image
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
provides: osc-container-image
vars: &osc_image_vars
docker_images:
@ -175,8 +175,8 @@
description: Build Docker images and upload to Docker Hub.
allowed-projects: openstack/python-openstackclient
requires:
- python-builder-3.10-bookworm-container-image
- python-base-3.10-bookworm-container-image
- python-builder-3.11-bookworm-container-image
- python-base-3.11-bookworm-container-image
provides: osc-container-image
secrets:
- name: docker_credentials

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.10-bookworm as builder
FROM docker.io/opendevorg/python-builder:3.11-bookworm as builder
COPY . /tmp/src
RUN assemble
FROM docker.io/opendevorg/python-base:3.10-bookworm
FROM docker.io/opendevorg/python-base:3.11-bookworm
COPY --from=builder /output/ /output
RUN /output/install-from-bindep