News for hackers. Stuff that matters.
Re:Distroless: Language focused docker images, minus the ope... by CHANCECHANEL on Friday October 06, 2017 @07:08PM (#15421108)
Could not agree more. Let's install Java to build something that does not needs Java at all. They could have used Go, Python, hell even something like CMake.
Re:Distroless: Language focused docker images, minus the ope... by jitl on Friday October 06, 2017 @07:27PM (#15421209)
This seems like a packaging problem. In Java 9, it's possible to produce a single binary containing the JRE and application code; same way as go producing a single binary containing the Go runtime and application code.

> Python

Then you have to install the right version of python, and you get even more of a nightmare than a Java install. At least the Java ecosystem doesn't suggest a separate tool (eg, virtualenv or similar) to support things like JAVA_HOME.

This applies equally to any non-statically-compiled application distribution; I don't see CMake files + some specially blessed CMake version that you also have to install as coming close to that.

Re:Distroless: Language focused docker images, minus the ope... by skybrian on Friday October 06, 2017 @09:13PM (#15421656)
It's not immediately useful, but you might find this interesting:

https://github.com/google/skylark

Re:Distroless: Language focused docker images, minus the ope... by austinjp on Saturday October 07, 2017 @05:34AM (#15423051)
I may be missing something here, since I've not heard of Skylark (the Python variation itself not Google's Go-based interpreter for Skylark) but my brief searching suggests it's abandoned..?
Re:Distroless: Language focused docker images, minus the ope... by skybrian on Saturday October 07, 2017 @09:08PM (#15426518)
Skylark is the name of the build language used by Bazel, Google's build system. The main version is written in Java, but isn't available separately from Bazel as far as I know. Definitely not abandoned; most teams at Google use it.

The Go version is new and I don't know what it's used for.

Re:Distroless: Language focused docker images, minus the ope... by alexnewman on Friday October 06, 2017 @09:22PM (#15421691)
That is so f! Cool!!! I have been looking for this!
Re:Distroless: Language focused docker images, minus the ope... by steren on Saturday October 07, 2017 @03:04AM (#15422664)
Are you on Windows? If so, Bazel now bundles the JDK so you should not have to worry about Java.