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
pythongh-124612: Good bye dockerfile and use GHCR package
gh-124612: Good bye dockerfile and use GHCR package (gh-124626)
pythongh-124612: Use ghcr.io/python/autoconf instead of public image
gh-124612: Use ghcr.io/python/autoconf instead of public image (#124657)
pythongh-124612: Use ghcr.io/python/autoconf instead of public image (p…
@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: 1
But 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/bash to 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
pythongh-124612: Update autoconf container image
gh-124612: Update autoconf container image (#125320)
[3.13] gh-124612: Use ghcr.io/python/autoconf instead of public image (…
[3.12] gh-124612: Use ghcr.io/python/autoconf instead of public image (…
Activity
pythongh-124612: Good bye dockerfile and use GHCR package
gh-124612: Good bye dockerfile and use GHCR package (gh-124626)
pythongh-124612: Use ghcr.io/python/autoconf instead of public image
gh-124612: Use ghcr.io/python/autoconf instead of public image (#124657)
pythongh-124612: Use ghcr.io/python/autoconf instead of public image (p…
efimov-mikhail commented on Oct 11, 2024
@corona10, FYI:
I can't use ``regen-configure.sh``` script "as-is":
But this docker command helps me:
Maybe you can pass environment value CONFIG_SHELL=/bin/bash to the container?
corona10 commented on Oct 11, 2024
Would you like to submit the patch to https://github.com/python/cpython-devcontainers ?
efimov-mikhail commented on Oct 11, 2024
Of course, I will make a PR to this repo.
Edit:
See python/cpython-devcontainers#19
pythongh-124612: Update autoconf container image
gh-124612: Update autoconf container image (#125320)
pythongh-124612: Use ghcr.io/python/autoconf instead of public image (p…
pythongh-124612: Use ghcr.io/python/autoconf instead of public image (p…
[3.13] gh-124612: Use ghcr.io/python/autoconf instead of public image (…
[3.12] gh-124612: Use ghcr.io/python/autoconf instead of public image (…