Build ircbots with base python image from quay.io
The parent change moves the publication of base python images to quay.io. Update the irc bot container images to pull the base python iamges from quay.io to match. We switch to building with docker now that docker is capable of building with speculative images in single arch builds. Change-Id: I5040582cf5039d3f51432c35aa7bd172cbb86aca
This commit is contained in:
@@ -15,7 +15,7 @@
|
||||
|
||||
# Trigger rebuild - Thu Aug 7 05:51:27 PM UTC 2025
|
||||
|
||||
FROM docker.io/opendevorg/python-base:3.12-bookworm
|
||||
FROM quay.io/opendevorg/python-base:3.12-bookworm
|
||||
|
||||
RUN pip install pyyaml irc
|
||||
COPY accessbot.py /usr/local/bin/accessbot.py
|
||||
|
@@ -15,7 +15,7 @@
|
||||
|
||||
# Trigger rebuild - Thu Aug 7 05:51:27 PM UTC 2025
|
||||
|
||||
FROM docker.io/opendevorg/python-builder:3.12-bookworm as builder
|
||||
FROM quay.io/opendevorg/python-builder:3.12-bookworm as builder
|
||||
ARG ZUUL_SIBLINGS=""
|
||||
|
||||
RUN apt-get update \
|
||||
@@ -27,7 +27,7 @@ COPY . /tmp/src
|
||||
|
||||
RUN assemble
|
||||
|
||||
FROM docker.io/opendevorg/python-base:3.12-bookworm as ircbot
|
||||
FROM quay.io/opendevorg/python-base:3.12-bookworm as ircbot
|
||||
|
||||
COPY --from=builder /output /output
|
||||
|
||||
|
@@ -15,12 +15,12 @@
|
||||
|
||||
# Trigger rebuild - Thu Aug 7 05:51:27 PM UTC 2025
|
||||
|
||||
FROM docker.io/opendevorg/python-builder:3.12-bookworm as builder
|
||||
FROM quay.io/opendevorg/python-builder:3.12-bookworm as builder
|
||||
|
||||
COPY src /tmp/src
|
||||
RUN assemble
|
||||
|
||||
FROM docker.io/opendevorg/python-base:3.12-bookworm as eavesdrop
|
||||
FROM quay.io/opendevorg/python-base:3.12-bookworm as eavesdrop
|
||||
|
||||
COPY --from=builder /output/ /output
|
||||
RUN /output/install-from-bindep \
|
||||
|
@@ -7,6 +7,7 @@
|
||||
provides: accessbot-container-image
|
||||
vars: &accessbot_vars
|
||||
promote_container_image_job: system-config-upload-image-accessbot
|
||||
container_command: docker
|
||||
container_images:
|
||||
- context: docker/accessbot
|
||||
registry: quay.io
|
||||
|
@@ -9,6 +9,7 @@
|
||||
provides: matrix-eavesdrop-container-image
|
||||
vars: &matrix-eavesdrop_vars
|
||||
promote_container_image_job: system-config-upload-image-matrix-eavesdrop
|
||||
container_command: docker
|
||||
container_images:
|
||||
- context: docker/matrix-eavesdrop
|
||||
registry: quay.io
|
||||
|
@@ -11,6 +11,7 @@
|
||||
- opendev/meetbot
|
||||
vars: &ircbot_vars
|
||||
promote_container_image_job: system-config-upload-image-ircbot
|
||||
container_command: docker
|
||||
container_images:
|
||||
- context: docker/ircbot
|
||||
target: ircbot
|
||||
|
Reference in New Issue
Block a user