This change updates the base container image and updates the source of that image to the new canonical location for it on quay.io. We do this because we want to drop bookworm eventually and updating this image to trixie is one step in that process. This is also happening a couple of months in advance of the next PTG ensuring we have plenty of time to address problems should they arise. Due to changes in the ssl library in python3.12 we have to update how the bot handles ssl connectivity via an explicit ssl context wrapper and connection factory. Doing so drops our dependency on ib3 entirely so we remove that requirement. We also update the unittest python version to match. This exposes self.assertEquals as no longer being a valid unittest assertion. We update that to self.assertEqual. Change-Id: I3ac56133f00b6f440bab85005db619c36e10c876 Signed-off-by: Clark Boylan <clark.boylan@gmail.com>
14 lines
258 B
Docker
14 lines
258 B
Docker
|
|
FROM quay.io/opendevorg/python-builder:3.12-trixie as builder
|
|
|
|
COPY . /tmp/src
|
|
RUN assemble
|
|
|
|
FROM quay.io/opendevorg/python-base:3.12-trixie as ptgbot
|
|
|
|
COPY --from=builder /output/ /output
|
|
RUN /output/install-from-bindep
|
|
|
|
COPY init.sh init.sh
|
|
CMD ./init.sh
|