<https://twitter.com/bdw429s/status/15199152534333...
# box-products
b
d
Fantastic News 🙂 Would it be possible to give an ETA as to when this will be available in the
ortussolutions/commandbox
image?
b
@danlance That's a question for @jclausen
but you can manually upgrade
box
for now in your image
d
ok… so we run box update in our dockerfile, which should bring in the latest jdk11?
z
i think there was an issue with 11.0.15, try 11.0.14 for now
b
The latest CommandBox should work fine on 11.0.15
@danlance Your question doesn't make any sense.
box upgrade
doesn't touch Java, it upgrades CommandBox itself
That said, it won't work when the jars have changed, so you need to use apt or download the box. Depends on how it was installed originally into the images.
d
Ok… sorry, possibly crossed wires there… My sole objective is to, with the minimal amount of disruption, update java version used by Lucee within our docker build which is based on the commandbox image (currently using
ortussolutions/commandbox:3.4.5
as the base) From the discussions yesterday, I understand that latest commandbox version has updated to use adoptium source for openjdk - so allowing lastest Java 11 version to be used. I realise that my query above was without context… so probably makes little sense on its own… That being said… as a quick and dirty workaround, could I do
box upgrade
followed by
box server java install
to achieve that objective? (or just tell me to go away and wait till the docker image is updated! - I have until the middle of next week for the project we are currently undertaking before this will impact significantly…)
b
You're confusing the jre bundled version of box which or our images don't use
Java is not part of box per se
We just have a download that bundles it for you for convenience.
But that's unrelated to the Docker images really
d
And the box server java install command... Is that part of box?
b
Our Docker images use an alpine image that just already has java installed
Yes, the java command is different still. That just downloads additional jres for servers
d
So... Wouldn't that work here? I get it, java is not part of box... But currently latest docker image cones with the 14.1+1 version of java... Not 15+10... So would what I described work?
b
If you just want to update java in the Docker image, forget about commandbox and just use apt it whatever to update it in linux
Box will just use what's installed
d
Ok
b
I'll on my phone today running errands, so sorry my replies are a little scattered and brief