Skip to content

Commit dc69ef8

Browse files
committed
poetry dockerfile
1 parent a93e86c commit dc69ef8

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

Dockerfile

+13-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,17 @@
1-
FROM python:3.10.4
1+
ARG REGISTRY_PATH='harbor.devops.indico.io/indico'
2+
ARG BUILD_TAG=latest
23

3-
ENV INDICO_HOST="dev-ci.us-east-2.indico-dev.indico.io"
4+
FROM ${REGISTRY_PATH}/ubuntu-2204-build:${BUILD_TAG} as poetry-installer
5+
ARG POETRY_INSTALL_ARGS
6+
7+
RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -yqq apt-transport-https
8+
9+
#deadsnakes holds old versions of python for ubuntu
10+
RUN DEBIAN_FRONTEND=noninteractive apt-get install -yqq software-properties-common && add-apt-repository ppa:deadsnakes/ppa
11+
12+
RUN DEBIAN_FRONTEND=noninteractive apt-get -yqq install python3.8 python3.9 python3.10 python3.11 python3.12 python3.13 python3-pip
13+
14+
RUN pip3 install tox==4.11.3
415

516
COPY . /indico-client
617
WORKDIR /indico-client

0 commit comments

Comments
 (0)