Repository navigation
Replace container images to packages from cpython-devcontainers #124612
Copy link
Copy link
Closed
Labels
Description
Activity
@corona10, FYI:
I can't use ``regen-configure.sh``` script "as-is":
-> % Tools/build/regen-configure.sh + IMAGE=ghcr.io/python/autoconf:2024.10.06.11200919239 + AUTORECONF='autoreconf -ivf -Werror' + WORK_DIR=/src +++ dirname Tools/build/regen-configure.sh ++ cd Tools/build/../.. ++ pwd + abs_srcdir=/home/mikhail.efimov/projects/cpython + podman --version + docker --version + RUNTIME=docker + PATH_OPT= + command -v selinuxenabled + selinuxenabled + docker run --rm -v /home/mikhail.efimov/projects/cpython:/src ghcr.io/python/autoconf:2024.10.06.11200919239 Rebuilding configure script using /usr/local/bin/autoconf: This script requires a shell more modern than all autoreconf: export WARNINGS=error autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: error: /usr/local/bin/autoconf failed with exit status: 1But this docker command helps me:
-> % docker run --rm -v /home/mikhail.efimov/projects/cpython:/src ghcr.io/python/autoconf:2024.10.06.11200919239 /usr/bin/bash -c "CONFIG_SHELL=/bin/bash autoreconf -ivf -Werror" autoreconf: export WARNINGS=error autoreconf: Entering directory '.' autoreconf: configure.ac: not using Gettext autoreconf: running: aclocal --force autoreconf: configure.ac: tracing autoreconf: configure.ac: not using Libtool autoreconf: configure.ac: not using Intltool autoreconf: configure.ac: not using Gtkdoc autoreconf: running: /usr/local/bin/autoconf --force autoreconf: running: /usr/local/bin/autoheader --force autoreconf: configure.ac: not using Automake autoreconf: Leaving directory '.'Maybe you can pass environment value
CONFIG_SHELL=/bin/bashto the container?Would you like to submit the patch to https://github.com/python/cpython-devcontainers ?
Of course, I will make a PR to this repo.
Edit:
See python/cpython-devcontainers#19
Now we can manage our own package images at https://github.com/python/cpython-devcontainers and publish them through https://github.com/orgs/python/packages, so it's time to use them.
cc @brettcannon @erlend-aasland
Linked PRs