-
Notifications
You must be signed in to change notification settings - Fork 0
HTAE-13: Use Debian 13 base image #178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
aelkiss
commented
Jan 26, 2026
- use library-packaged grokj2k
- use more Debian packaged perl modules
* use library-packaged grokj2k * use more Debian packaged perl modules
|
Playwright tests pass locally for me. @moseshll n.b. Ryan has built both arm64 and amd64 grokj2k debs. |
|
The perl tests pass locally for me too. I'll see what's failing here. |
|
Looks like imgsrv is failing. I'll try a clean checkout & build locally and see if I can reproduce. |
|
perl tests pass for me locally even with a clean checkout & build w/o using cache. I'm rather confused. I think first I'm just going to re-try the tests here. |
|
Looks like grok is getting confused by the |
|
Interesting; I wonder why I'm not getting it. I'll look into it further. |
|
And indeed, if I change There's a case to be made for using the short form |
|
Thanks for looking into it. I think when I did the clean check-out to see if tests were passing locally it was using the wrong branch. Also there may have been some caching issues because even on the right branch when I built & then ran the perl-test container it was debian 12. 🤦 |
Option style has changed in more recent releases to be more consistent.
| # RUN sed -i 's/main.*/main contrib non-free/' /etc/apt/sources.list | ||
| FROM debian:trixie AS babel-base | ||
|
|
||
| RUN apt-get update && apt-get install -y \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| RUN apt-get update && apt-get install -y \ | |
| RUN apt-get update && apt-get install -y --no-install-recommends \ |
This mirrors APT::Install-Recommends "false", which is in the global apt settings on all of our servers. This will occasionally leave a package in a broken state, but if it does, we want to know about it and add necessary dependencies explicitly.
|
|
||
| RUN echo "deb [signed-by=/etc/apt/keyrings/mlibrary-archive-keyring.gpg] https://apt.lib.umich.edu trixie main" > /etc/apt/sources.list.d/mlibrary.list | ||
|
|
||
| RUN apt-get update && apt-get install grokj2k |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| RUN apt-get update && apt-get install grokj2k | |
| RUN apt-get update && apt-get install -y --no-install-recommends grokj2k |
I would be surprised if this works without -y, unless you happen to be installing all of grok's deps above.
moseshll
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There are a total of five uses of the old grok -num_threads option. I would recommend changing the remaining four to use -H (I have no experience with recompress so I don't know if it is needed, but...):
grep -rni num_threads imgsrv
imgsrv/bin/recompress:18:IPC::Run::run([ "/l/local/bin/kdu_expand", "-num_threads", "0", "-quiet", "-i", $image_filename, "-o", $tmp_filename, "-reduce", "$reduce" ]);
imgsrv/bin/recompress:19:IPC::Run::run([ "/l/local/bin/kdu_compress", "-num_threads", "0", "-quiet", "-i", $tmp_filename, "-o", "$final_filename", "-slope", "42988" ]);
imgsrv/lib/Process/Image.pm:197: "-num_threads", "0",
imgsrv/lib/Process/Image.pm:459: "-num_threads", "0",
This is the only outstanding issue I wanted to note.
These are all for Kakadu ( |
|
Oh silly me, I didn't even stop to think that we still had kakadu in the mix. Likely false alarm then, sorry. |