Skip to content

size-reduce image for faster CI execution - #108

Merged
baentsch merged 3 commits into
mainfrom
mb-slim-ubuntu-latest
Jul 26, 2026
Merged

baentsch merged 3 commits into
mainfrom
mb-slim-ubuntu-latest

Conversation

@baentsch

Copy link
Copy Markdown
Member

Image to be used in combination with open-quantum-safe/liboqs#2500

Signed-off-by: baentsch <57787676+baentsch@users.noreply.github.com>
@baentsch
baentsch requested review from a team, jplomas and pablo-gf and removed request for pablo-gf July 23, 2026 05:34

@jplomas jplomas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

45% reduction in size when tested locally, nice 👍

One suggestion inline.

Comment thread ubuntu-latest/Dockerfile Resolved
Comment thread ubuntu-latest/Dockerfile Resolved
- A trailing `:` in LD_LIBRARY_PATH adds the current working directory to the dynamic linker search path, which can let untrusted local (PR) .so files be loaded unexpectedly.
- Ensure jasminc runs

Signed-off-by: JP Lomas <jp@theqrl.org>
Dropping `llvm` removes llvm-symbolizer, leaving AddressSanitizer reports
as bare addresses with no function, file or line. liboqs runs three ASan
jobs in this image; they still fail correctly, but the output becomes much
harder to act on.

Point ASan at binutils' addr2line instead, which compiler-rt supports
natively and which gcc already pulls in -- 0MB, versus 98MB to restore the
llvm metapackage.

Verified on ubuntu:latest with this PR's package set: symbolization is
restored for both heap-error and leak reports, and the ENV survives the
`docker exec` path GitHub Actions uses to run container-job steps.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Douglas Stebila <dstebila@uwaterloo.ca>
@dstebila
dstebila force-pushed the mb-slim-ubuntu-latest branch from 4f93431 to 85ccdbe Compare July 25, 2026 15:42
@baentsch

Copy link
Copy Markdown
Member Author

Thanks @jplomas @dstebila for your hands-on support getting this finished. Feels like the good ol' times again.

@baentsch
baentsch merged commit 7af5f0d into main Jul 26, 2026
16 checks passed
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.

3 participants