ptgbot/Dockerfile
Clark Boylan 513944afea Update ptgbot to python3.11 and Bookworm
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
2023-09-19 11:13:56 -07:00

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