Skip to content

Update to trixie#1048

Draft
Supermathie wants to merge 6 commits intomainfrom
trixie
Draft

Update to trixie#1048
Supermathie wants to merge 6 commits intomainfrom
trixie

Conversation

@Supermathie
Copy link
Copy Markdown
Member

@Supermathie Supermathie commented Mar 12, 2026

  • c742f10 FIX: use && instead of semicolons in Dockerfiles
  • 8b23031 CLEANUP: remove yarn from base image
  • fff21fe CLEANUP: use "&&" everywhere instead of "&& " for line continuance in RUN commands
  • c4adf63 CLEANUP: remove libgconf-2-4 from discourse_test dockerfile
  • d8b59d9 CLEANUP: Update from legacy dockerfile syntax
  • a3f0292 DEV: base image: update to trixie

Using `;` hides build-time errors
@Supermathie
Copy link
Copy Markdown
Member Author

Supermathie commented Mar 12, 2026

still need to test the generated image, I think the workflow will build & push something I can try?

EDIT: nope, but I can build locally and shuffle it over to my test server

The big block is the postgresql collation problem :(

This was a legacy package needed 8 years ago for chrome

effectively reverts 6b67357
old and busted: `ENV FOO bar`
new hotness: `ENV FOO=bar`
* remove yarn
  there are no packages available for trixie, but we weren't using it any more
* libpcre3 had been removed from Debian, the replacement is libpcre2
  * no, I didn't make a typo there
  * via pcre.org:
    > There are two major versions of the PCRE library. The current version, PCRE2, released in 2015, is now at version 10.47.
    > The older, but still widely deployed PCRE library, originally released in 1997, is at version 8.45. This version of PCRE is now at end of life, and is no longer being actively maintained.
* switch to using nginx packages instead of building it ourself
  * Once upon a time, we built it ourselves to add brotli support
  * with the trixie update, there's no reason to build it ourselves instead of
    using the distribution-provided packages
  * trixie is at 1.26.3, below the version we were previously compiling (1.28.1)
    but there are no features we require in the later version
* use stable libheif1
  * a later version of libheif (1.19.7-1~bpo12+1) was being pulled in from
    backports, but trixie is up to date (1.19.8-1)
* some dev packages have had their number removed,
  e.g. libfreetype6-dev -> libfreetype-dev
* remove apt-key usage - it was removed from trixie
@Supermathie Supermathie changed the title trixie Update to trixie Mar 12, 2026
@Supermathie Supermathie marked this pull request as draft March 17, 2026 02:59
@Supermathie
Copy link
Copy Markdown
Member Author

Supermathie commented Mar 17, 2026

Converted to draft as we're not yet ready to actually go to trixie due to the collation problem

… I think we could make all the other changes though 🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant