r/java • • Oct 08 '26

Brewlet: Java on Kubernetes with node-managed JDKs

https://brewlet.sh
19 Upvotes

17 comments sorted by

View all comments

Show parent comment

0

u/Nice-Solid-3707 Oct 08 '26

One get request before build invocation doesn’t make pipeline complex

2

u/brunocborges Oct 08 '26

How do you ensure app teams did not change the JDK in their downstream image?

1

u/Nice-Solid-3707 Oct 08 '26

Ah, you probably meant pushing to registry? That’s trivial too - only service accounts have write access

2

u/brunocborges Oct 08 '26

I meant someone doing something like this:

FROM <base>
ADD app.jar
RUN wget <url for another JDK>
CMD [anotherjdk/bin/java ...]

0

u/Nice-Solid-3707 Oct 08 '26

By forbidding pushes changing cicd definitions, including dockerfile. This is trivial

2

u/brunocborges Oct 08 '26

And how is the process of patching JDK and dependencies across multiple apps?

2

u/Nice-Solid-3707 Oct 08 '26

You patch base image and dependabot/renovate does the rest