Skip to content

Commit 8502d47

Browse files
committed
Use PPA to get python 3.13 to ubunut 22.04
1 parent 2c8b2c4 commit 8502d47

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

Dockerfile

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,13 @@ ADD https://packages.microsoft.com/config/ubuntu/21.04/packages-microsoft-prod.d
1212
COPY dist/bzt*whl /tmp
1313

1414
WORKDIR /tmp
15+
16+
# add PPA for python 3.1
17+
RUN add-apt-repository ppa:deadsnakes/ppa
1518
# add node repo and call 'apt-get update'
16-
RUN bash ./setup_18.x && $APT_INSTALL build-essential python3-pip python3.10-dev net-tools apt-utils
19+
RUN bash ./setup_18.x && $APT_INSTALL build-essential python3-pip python3.13-dev net-tools apt-utils
1720

18-
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.10 1
21+
RUN update-alternatives --install /usr/bin/python3 python3 /usr/bin/python3.13 1
1922

2023
# Fix vulnerabilities / outdated versions
2124
RUN $PIP_INSTALL --user --upgrade pip oauthlib pyjwt httplib2 numpy fonttools wheel

0 commit comments

Comments
 (0)