Skip to content

Commit 7d8cf41

Browse files
committed
Fix: add python3 to ubuntu:22.04 base image for pip_install
The 2025.06 image builder with ubuntu:22.04 base doesn't include Python by default. Added python3, python3-pip, python-is-python3.
1 parent 99cdb2e commit 7d8cf41

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

app.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,7 @@
135135
"update-alternatives --set iptables /usr/sbin/iptables-legacy",
136136
"update-alternatives --set ip6tables /usr/sbin/ip6tables-legacy",
137137
)
138+
.apt_install("python3", "python3-pip", "python-is-python3")
138139
.pip_install("fastapi==0.115.0", "httpx==0.27.0")
139140
.run_commands(
140141
"mkdir -p /actions-runner",

0 commit comments

Comments
 (0)