Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

slowsage
Copy link

On images without python3, apt-get update causes:

Traceback (most recent call last):
  File "/usr/lib/cnf-update-db", line 3, in <module>
    import apt_pkg
ModuleNotFoundError: No module named 'apt_pkg'
```.
This removes the python3 dependency on base image.

@ChristopherHX
Copy link
Owner

Things excluded in the base image should be added back as part of the bigger image.

So my suggestion include them explicitly in the tar command of the python3 image.

@slowsage slowsage force-pushed the cnf branch 2 times, most recently from 0eeac0b to d71d985 Compare September 23, 2025 18:28
@slowsage
Copy link
Author

Makes sense. Please review. Thank you!

@ChristopherHX
Copy link
Owner

Thanks, looks good now.

Now I want some time to download and test the produced images in https://github.com/slowsage/runner-image-blobs/pkgs/container/runner-images-experiments.

After this is done, I can merge this.

BTW you can delete that package from your account if you wish once this is merged.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants