Skip to content

Commit 0e71f14

Browse files
m4airm4air
authored andcommitted
build: use current Ubuntu package base for disposable toolchain
1 parent c4ed971 commit 0e71f14

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎config/bun-conpty-build/build-disposable.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ python3 - "$bun_build_root/bun/.buildkite/Dockerfile" <<'PYDOCKER'
1414
from pathlib import Path
1515
import sys
1616
p = Path(sys.argv[1])
17-
s = p.read_text().replace('RUN apt-get update', 'RUN echo "inet4_only = on" >> /etc/wgetrc && echo "ipv4" >> /root/.curlrc && echo \'Acquire::ForceIPv4 "true";\' > /etc/apt/apt.conf.d/99-force-ipv4 && apt-get update', 1)
17+
s = p.read_text().replace('ubuntu:20.04', 'ubuntu:22.04').replace('RUN apt-get update', 'RUN echo "inet4_only = on" >> /etc/wgetrc && echo "ipv4" >> /root/.curlrc && echo \'Acquire::ForceIPv4 "true";\' > /etc/apt/apt.conf.d/99-force-ipv4 && apt-get update', 1)
1818
p.write_text(s)
1919
PYDOCKER
2020
docker build --target base --tag bun-conpty-toolchain-base --file "$bun_build_root/bun/.buildkite/Dockerfile" "$bun_build_root/bun"

0 commit comments

Comments
 (0)