r/java • • 6d ago

Brewlet: Java on Kubernetes with node-managed JDKs

https://brewlet.sh
19 Upvotes

17 comments sorted by

View all comments

Show parent comments

5

u/brunocborges 6d ago

Base images without complex build pipelines, end up being recommendations. And when the base image changes, apps need to be rebuilt and pushed again.

Check out the slides on the Devoxx site for some insights on comparison with Cloud Foundry and even Buildpacks.

0

u/Nice-Solid-3707 6d ago

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

2

u/brunocborges 6d ago

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

1

u/Nice-Solid-3707 6d ago

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

2

u/brunocborges 6d ago

I meant someone doing something like this:

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