513944afea
We update python testing from python3.8 to python3.11 to match the deployment setup in the Docker image. We then update the docker image from python3.9 + bullseye to python3.11 + bookworm. This is future proofing, but also OpenDev would like to clean up old docker container image builds for bullseye and older python. Change-Id: Ifbb7dcf2bf5f0b7ea4f53e26dd4bf4911c9b8d37
14 lines
266 B
Docker
14 lines
266 B
Docker
|
|
FROM docker.io/opendevorg/python-builder:3.11-bookworm as builder
|
|
|
|
COPY . /tmp/src
|
|
RUN assemble
|
|
|
|
FROM docker.io/opendevorg/python-base:3.11-bookworm as ptgbot
|
|
|
|
COPY --from=builder /output/ /output
|
|
RUN /output/install-from-bindep
|
|
|
|
COPY init.sh init.sh
|
|
CMD ./init.sh
|