Skip to content

Comments

Override MILL_VERSION to ensure we get a portable version of mill#746

Merged
jmarshall merged 1 commit intomainfrom
override-mill-version
Jan 18, 2026
Merged

Override MILL_VERSION to ensure we get a portable version of mill#746
jmarshall merged 1 commit intomainfrom
override-mill-version

Conversation

@jmarshall
Copy link
Contributor

@jmarshall jmarshall commented Jan 15, 2026

By default hail/mill downloads mill-dist-native-linux-amd64-1.0.4.exe, which as built requires at least GLIBC_2.34. Bullseye provides 2.31 only. We might prefer to update Dockerfile.base to bookworm or trixie, but they do not provide openjdk-11 which Hail still insists on. (Upstream's similar images use Ubuntu Noble, but that has the disadvantage for us of using Python 3.12 rather than 3.11.)

This resolves the previous driver image build failure while building Hail:

#6 30.95 Downloading mill 1.0.4 from https://repo1.maven.org/maven2/com/lihaoyi/mill-dist-native-linux-amd64/1.0.4/mill-dist-native-linux-amd64-1.0.4.exe ...
[…]
#6 31.25 /root/.cache/mill/download/1.0.4-native-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32' not found (required by /root/.cache/mill/download/1.0.4-native-linux-amd64)
#6 31.25 /root/.cache/mill/download/1.0.4-native-linux-amd64: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by /root/.cache/mill/download/1.0.4-native-linux-amd64)
#6 31.25 make: *** [Makefile:85: out/hail/2.12/assembly.dest/out.jar] Error 1

Thus working around com-lihaoyi/mill#5568.

By default hail/mill downloads mill-dist-native-linux-amd64-1.0.4.exe,
which as built requires at least GLIBC_2.34. Bullseye provides 2.31 only.
We might prefer to update Dockerfile.base to bookworm or trixie, but they
do not provide openjdk-11 which Hail still insists on. (Upstream's similar
images use Ubuntu Noble, but that has the disadvantage for us of using
Python 3.12 rather than 3.11.)
@jmarshall jmarshall requested a review from a team as a code owner January 15, 2026 23:29
@jmarshall jmarshall merged commit 8e992dd into main Jan 18, 2026
6 of 10 checks passed
@jmarshall jmarshall deleted the override-mill-version branch January 18, 2026 23:49
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.

2 participants