[Bug 42883] New: koha-dpkg docker image still builds with Debian 11
From build.sh:
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42883 Bug ID: 42883 Summary: koha-dpkg docker image still builds with Debian 11 Initiative type: --- Sponsorship --- status: Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: enhancement Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: cornelius.hertfelder@bsz-bw.de QA Contact: testopia@bugs.koha-community.org CC: mtj@kohaaloha.com Target Milestone: --- Hello, this docker image used for building custom Debian packages contains a build.sh which still uses Debian 11 Bullseye. This is independent of the Debian version of the docker image itself. https://hub.docker.com/r/koha/koha-dpkg/This is linked here in the first paragraph. pbuilder create --use-network yes --distribution bullseye --mirror http://debian.csail.mit.edu/debian/ pbuilder execute --use-network yes --save-after-exec /pbuilder.sh --basetgz /var/cache/pbuilder/base.tgz Simply replacing bullseye with bookworm does not work, the build process fails. The deb package created with this command still works under Debian 12 bookworm, but I think it's not a clean solution. Wouldn't it be better to provide a .gitlab-ci.yml which can build the whole thing automatically? And avoid this pbuilder-container-inside-docker-container thing?` Regards Cornelius -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42883 --- Comment #1 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Looking at the repository of koha-dpkg-docker I found this commit: Update to bookworm https://gitlab.com/koha-community/koha-dpkg-docker/-/commit/353f8531ac6a4501... So it appears that it probably should already be using bookworm? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42883 --- Comment #2 from Katrin Fischer <katrin.fischer@bsz-bw.de> --- Hm, I see what Cornelius meant now: https://gitlab.com/koha-community/koha-dpkg-docker/-/blob/main/build.sh?ref_... git config --global --add safe.directory /koha if [ ! -f /var/cache/pbuilder/base.tgz ]; then # Build base.tgz echo "BUILDING base.tgz FILE" apt-get update pbuilder create --use-network yes --distribution bullseye --mirror http://debian.csail.mit.edu/debian/ pbuilder execute --use-network yes --save-after-exec /pbuilder.sh --basetgz /var/cache/pbuilder/base.tgz else echo "BUILDING base.tgz FILE => skipped, file exists" fi -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=42883 Katrin Fischer <katrin.fischer@bsz-bw.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com -- You are receiving this mail because: You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org