Skip to content

Commit 05805e5

Browse files
authored
chore(ci): use python3.12 as build tool base (#15520)
1 parent 03fc855 commit 05805e5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

docker/build-tool/debian/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM debian:bullseye
1+
FROM python:3.12-bullseye
22

33
ENV TERM=dumb
44
ENV DEBIAN_FRONTEND=noninteractive

scripts/setup/dev_setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,10 @@ function install_ziglang {
133133
function install_python3 {
134134
PACKAGE_MANAGER=$1
135135

136+
if python3 --version; then
137+
echo "==> python3 is already installed"
138+
return
139+
fi
136140
echo "==> installing python3..."
137141

138142
case "$PACKAGE_MANAGER" in

0 commit comments

Comments
 (0)