Skip to content

Commit b502573

Browse files
authored
gh-124612: Use ghcr.io/python/autoconf instead of public image (#124657)
* gh-124612: Use ghcr.io/python/autoconf instead of public image * Update
1 parent 14b44c5 commit b502573

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Tools/build/regen-configure.sh

+2-4
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,10 @@ set -e -x
55
# The check_generated_files job of .github/workflows/build.yml must kept in
66
# sync with this script. Use the same container image than the job so the job
77
# doesn't need to run autoreconf in a container.
8-
IMAGE="ubuntu:22.04"
9-
DEPENDENCIES="autotools-dev autoconf autoconf-archive pkg-config"
8+
IMAGE="ghcr.io/python/autoconf:2024.10.06.11200919239"
109
AUTORECONF="autoreconf -ivf -Werror"
1110

1211
WORK_DIR="/src"
13-
SHELL_CMD="apt-get update && apt-get -yq install $DEPENDENCIES && cd $WORK_DIR && $AUTORECONF"
1412

1513
abs_srcdir=$(cd $(dirname $0)/../..; pwd)
1614

@@ -28,4 +26,4 @@ if command -v selinuxenabled >/dev/null && selinuxenabled; then
2826
PATH_OPT=":Z"
2927
fi
3028

31-
"$RUNTIME" run --rm -v "$abs_srcdir:$WORK_DIR$PATH_OPT" "$IMAGE" /usr/bin/bash -c "$SHELL_CMD"
29+
"$RUNTIME" run --rm -v "$abs_srcdir:$WORK_DIR$PATH_OPT" "$IMAGE"

0 commit comments

Comments
 (0)