Skip to content

Commit

Permalink
pythongh-124612: Use ghcr.io/python/autoconf instead of public image
Browse files Browse the repository at this point in the history
  • Loading branch information
corona10 committed Sep 27, 2024
1 parent 3a0e7f5 commit da25b32
Show file tree
Hide file tree
Showing 3 changed files with 190 additions and 124 deletions.
6 changes: 2 additions & 4 deletions Tools/build/regen-configure.sh
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,10 @@ set -e -x
# The check_generated_files job of .github/workflows/build.yml must kept in
# sync with this script. Use the same container image than the job so the job
# doesn't need to run autoreconf in a container.
IMAGE="ubuntu:22.04"
DEPENDENCIES="autotools-dev autoconf autoconf-archive pkg-config"
IMAGE="ghcr.io/python/autoconf:2024.09.27.11067121253"
AUTORECONF="autoreconf -ivf -Werror"

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

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

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

"$RUNTIME" run --rm -v "$abs_srcdir:$WORK_DIR$PATH_OPT" "$IMAGE" /usr/bin/bash -c "$SHELL_CMD"
"$RUNTIME" run --rm -v "$abs_srcdir:$WORK_DIR$PATH_OPT" "$IMAGE"
90 changes: 79 additions & 11 deletions aclocal.m4

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit da25b32

Please sign in to comment.