Skip to content

Commit a8b2b8c

Browse files
committed
fix: newer ubuntu version
1 parent b83dd05 commit a8b2b8c

File tree

1 file changed

+11
-11
lines changed

1 file changed

+11
-11
lines changed

tox.Dockerfile

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
1-
FROM ubuntu:20.04
1+
FROM ubuntu:24.04
22

33
ENV DEBIAN_FRONTEND=noninteractive
44

5-
RUN apt-get update && apt-get install -yqq apt-transport-https
5+
RUN apt-get update && apt-get install -yqq --no-install-recommends \
6+
apt-transport-https \
7+
software-properties-common && \
8+
rm -rf /var/lib/apt/lists/*
69

7-
#deadsnakes holds old versions of python for ubuntu
8-
RUN apt-get install -yqq software-properties-common && \
9-
add-apt-repository ppa:deadsnakes/ppa
10-
11-
RUN apt-get update && \
12-
apt-get -yqq install \
10+
# deadsnakes holds additional Python versions for Ubuntu
11+
RUN add-apt-repository -y 'ppa:deadsnakes/ppa' && \
12+
apt-get update && \
13+
apt-get -yqq install --no-install-recommends \
1314
python3.8 \
1415
python3.9 \
1516
python3.10 \
1617
python3.11 \
1718
python3.12 \
1819
python3.13 \
19-
python3-pip
20-
21-
RUN pip3 install tox==4.11.3
20+
python3-pip && \
21+
rm -rf /var/lib/apt/lists/*
2222

2323
COPY . /indico-client
2424
WORKDIR /indico-client

0 commit comments

Comments
 (0)