Build haproxy-statsd with Python 3.11 Base Images

This commits update haproxy-statsd 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: I65d469d18d1cf10d7f404b12afdeb5e6d8580bd6
This commit is contained in:
Gene Kuo 2023-04-27 12:13:54 +09:00
parent cd0a9913d4
commit 792d3f611f
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 # See the License for the specific language governing permissions and
# limitations under the License. # limitations under the License.
FROM docker.io/opendevorg/python-base:3.9-bullseye FROM docker.io/opendevorg/python-base:3.11-bullseye
COPY haproxy-statsd.py /usr/local/bin COPY haproxy-statsd.py /usr/local/bin
RUN pip install statsd RUN pip install statsd

View File

@ -3,7 +3,7 @@
name: system-config-build-image-haproxy-statsd name: system-config-build-image-haproxy-statsd
description: Build a haproxy-statsd image. description: Build a haproxy-statsd image.
parent: system-config-build-image parent: system-config-build-image
requires: python-base-3.9-bullseye-container-image requires: python-base-3.11-bullseye-container-image
provides: haproxy-statsd-container-image provides: haproxy-statsd-container-image
vars: &haproxy-statsd_vars vars: &haproxy-statsd_vars
docker_images: docker_images:
@ -18,7 +18,7 @@
name: system-config-upload-image-haproxy-statsd name: system-config-upload-image-haproxy-statsd
description: Build and upload a haproxy-statsd image. description: Build and upload a haproxy-statsd image.
parent: system-config-upload-image parent: system-config-upload-image
requires: python-base-3.9-bullseye-container-image requires: python-base-3.11-bullseye-container-image
provides: haproxy-statsd-container-image provides: haproxy-statsd-container-image
vars: *haproxy-statsd_vars vars: *haproxy-statsd_vars
files: *haproxy-statsd_files files: *haproxy-statsd_files

View File

@ -127,7 +127,7 @@
- system-config-build-image-haproxy-statsd: - system-config-build-image-haproxy-statsd:
dependencies: dependencies:
- name: opendev-buildset-registry - 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 soft: true
- system-config-build-image-zookeeper-statsd: - system-config-build-image-zookeeper-statsd:
dependencies: dependencies:
@ -277,7 +277,7 @@
- system-config-upload-image-haproxy-statsd: - system-config-upload-image-haproxy-statsd:
dependencies: dependencies:
- name: opendev-buildset-registry - 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 soft: true
- system-config-upload-image-zookeeper-statsd: - system-config-upload-image-zookeeper-statsd:
dependencies: dependencies: