http://coldfusion.com logo
#box-products
Title
# box-products
b

bdw429s

04/29/2022, 5:44 AM
d

danlance

04/29/2022, 8:15 AM
Fantastic News 🙂 Would it be possible to give an ETA as to when this will be available in the
ortussolutions/commandbox
image?
b

bdw429s

04/29/2022, 1:24 PM
@danlance That's a question for @jclausen
but you can manually upgrade
box
for now in your image
d

danlance

04/29/2022, 1:45 PM
ok… so we run box update in our dockerfile, which should bring in the latest jdk11?
z

zackster

04/29/2022, 3:48 PM
i think there was an issue with 11.0.15, try 11.0.14 for now
b

bdw429s

04/29/2022, 3:49 PM
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

danlance

04/29/2022, 4:21 PM
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

bdw429s

04/29/2022, 5:19 PM
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

danlance

04/29/2022, 5:21 PM
And the box server java install command... Is that part of box?
b

bdw429s

04/29/2022, 5:21 PM
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

danlance

04/29/2022, 5:24 PM
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

bdw429s

04/29/2022, 5:27 PM
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

danlance

04/29/2022, 5:28 PM
Ok
b

bdw429s

04/29/2022, 5:53 PM
I'll on my phone today running errands, so sorry my replies are a little scattered and brief
4 Views