Skip to content

Commit 2c3bffc

Browse files
committed
Pin docker ubuntu version & bump to 24.04
1 parent bf4cd7f commit 2c3bffc

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

build.mill.scala

+2-1
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ object Versions {
2222
def osLib = "0.11.4"
2323
def uTest = "0.8.5"
2424
def jline = "3.25.0"
25+
def ubuntu = "24.04"
2526
}
2627

2728
trait JavaMainClassNativeImage extends NativeImage {
@@ -152,7 +153,7 @@ object `java-class-name` extends JavaClassNameModule with JavaMainClassNativeIma
152153

153154
def nativeImageDockerParams: Target[Option[NativeImage.DockerParams]] = Some(
154155
NativeImage.linuxMostlyStaticParams(
155-
"ubuntu:18.04", // TODO Pin that?
156+
s"ubuntu:${Versions.ubuntu}",
156157
s"https://github.com/coursier/coursier/releases/download/v${Versions.coursier}/cs-x86_64-pc-linux.gz"
157158
)
158159
)

0 commit comments

Comments
 (0)