Update accessbot to Use Python 3.11 Base Images

This commits update accessbot Dockerfile to use Python 3.11 images
instead of older 3.9 one. It's part of the effort to update Python
version to 3.10 or later.

Change-Id: I983ca73237b8a11ae3885505f549d8b0b16c144f
This commit is contained in:
Gene Kuo 2023-04-21 12:52:16 +09:00
parent 9627b5c230
commit faf0c90fe6
3 changed files with 5 additions and 5 deletions

View File

@ -13,7 +13,7 @@
# See the License for the specific language governing permissions and
# limitations under the License.
FROM docker.io/opendevorg/python-base:3.9-bullseye
FROM docker.io/opendevorg/python-base:3.11-bullseye
RUN pip install pyyaml irc
COPY accessbot.py /usr/local/bin/accessbot.py

View File

@ -3,7 +3,7 @@
name: system-config-build-image-accessbot
description: Build a accessbot image.
parent: system-config-build-image
requires: python-base-3.9-bullseye-container-image
requires: python-base-3.11-bullseye-container-image
provides: accessbot-container-image
vars: &accessbot_vars
docker_images:
@ -17,7 +17,7 @@
name: system-config-upload-image-accessbot
description: Build and upload a accessbot image.
parent: system-config-upload-image
requires: python-base-3.9-bullseye-container-image
requires: python-base-3.11-bullseye-container-image
provides: accessbot-container-image
vars: *accessbot_vars
files: *accessbot_files

View File

@ -137,7 +137,7 @@
- system-config-build-image-accessbot:
dependencies:
- name: opendev-buildset-registry
- name: system-config-build-image-python-base-3.9-bullseye
- name: system-config-build-image-python-base-3.11-bullseye
soft: true
- system-config-build-image-ircbot:
dependencies:
@ -283,7 +283,7 @@
- system-config-upload-image-accessbot:
dependencies:
- name: opendev-buildset-registry
- name: system-config-upload-image-python-base-3.9-bullseye
- name: system-config-upload-image-python-base-3.11-bullseye
soft: true
- system-config-upload-image-ircbot:
dependencies: