Skip to content

Docker: update to Debian Trixie and add shfmt - #80

Open
BKPepe wants to merge 2 commits into
openwrt:mainfrom
BKPepe:add-shfmt
Open

Docker: update to Debian Trixie and add shfmt#80
BKPepe wants to merge 2 commits into
openwrt:mainfrom
BKPepe:add-shfmt

Conversation

@BKPepe

@BKPepe BKPepe commented Jun 24, 2026

Copy link
Copy Markdown
Member

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

#28 [stage-1 15/15] RUN 	mkdir -p /home/buildbot && 	chmod u=rwx,go= /home/buildbot && 	chown --recursive buildbot:buildbot /home/buildbot && 	gosu buildbot sh -c "gpg --homedir /home/buildbot/.gnupg --recv-keys 0x1D53D1877742E911"
#28 0.167 sh: 1: gpg: not found
#28 ERROR: process "/bin/sh -c mkdir -p /home/buildbot && \tchmod u=rwx,go= /home/buildbot && \tchown --recursive buildbot:buildbot /home/buildbot && \tgosu buildbot sh -c \"gpg --homedir /home/buildbot/.gnupg --recv-keys 0x1D53D1877742E911\"" did not complete successfully: exit code: 127

cc: @aparcar

BKPepe added 2 commits June 24, 2026 14:29
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>
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.

1 participant