Docker: update to Debian Trixie and add shfmt - #80
Open
BKPepe wants to merge 2 commits into
Open
Conversation
BKPepe
force-pushed
the
add-shfmt
branch
2 times, most recently
from
June 24, 2026 10:18
7d6744c to
0efcf91
Compare
Debian 11 (Bullseye) LTS support ends on August 31, 2026. Upgrading to Debian 13 (Trixie) ensures long-term support until June 30, 2030. While upgrading: - Replace deprecated libncurses5-dev package with libncurses-dev. - Install gnupg explicitly as it is no longer pre-installed. - Add legacy-cgi to pip packages. Debian 13 comes with Python 3.13, which removed the standard cgi module. Buildbot 3.11.8 / Twisted requires cgi at startup, so legacy-cgi is required as a drop-in replacement. Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This is needed for formatting checks on package init scripts in openwrt-gh-action-sdk introduced by
da3664e703cf27badd2c663858e5eb39a660201c ("run init scripts through shfmt")
Signed-off-by: Josef Schlehofer <pepe.schlehofer@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Regarding the update to the latest Debian version: since support for Debian 11, which is currently used here, is ending soon, I have updated it to Debian 13. This also solves the issue with the shfmt package, which is not available in Debian 11. shfmt is needed because our CI/CD pipeline fails from time to time.
As can be seen here:
openwrt/packages#29398 (comment) and openwrt/packages#29803 (comment)
The hard dependency on shfmt was added in this pull request:
openwrt/gh-action-sdk#4 4 years ago
Also adds hard dependency for gnupg
cc: @aparcar