hello, Is there a list where I can find which dock...
# docker-commandbox
b
hello, Is there a list where I can find which docker hub tag contains which commandbox version.... I want to use a docker containter with commandbox 5.8.x
b
@jclausen
j
Those changes are all documented in the Changelog. For CommandBox 5.8 versions, you would need to go back to a version of the image under
v3.7.3
, which would have been built in March of 2023. Is there a reason you need to use such an old version?
b
Yes, the java version detection does not work correctly on an iMac with an M2 processor. If we use the docker image with commandbox 5.9.1 then
java search
doesn't find any versions available. It seems that the url generated to hit the adoptium api is not correct. If we run commandbox docker image 3.8.5 on an iMac with M2 processor and then exec a bash environment we can get the following information from the system:
uname -a
=> Linux 56170bc4fb6f 6.6.26-linuxkit #1 SMP Sat Apr 27 041319 UTC 2024 aarch64 aarch64 aarch64 GNU/Linux
cat /etc/os-release
=> PRETTY_NAME="Ubuntu 22.04.3 LTS" NAME="Ubuntu" VERSION_ID="22.04" VERSION="22.04.3 LTS (Jammy Jellyfish)" VERSION_CODENAME=jammy ID=ubuntu ID_LIKE=debian HOME_URL="https://www.ubuntu.com/" SUPPORT_URL="https://help.ubuntu.com/" BUG_REPORT_URL="https://bugs.launchpad.net/ubuntu/" PRIVACY_POLICY_URL="https://www.ubuntu.com/legal/terms-and-policies/privacy-policy" UBUNTU_CODENAME=jammy And if we run
java search
it shows it's using this URL https://api.adoptium.net/v3/assets/version/%5B11%2C12%29?page_size=100&release_type=g[…]=hotspot&os=alpine-linux&architecture=aarch64&image_type=jre Notice the os parameter. It says "alpine-linux" Which it is not. We use the full debian linux version. We think is is caused by this ticket: https://ortussolutions.atlassian.net/browse/COMMANDBOX-1576
And we're not using the image with commandbox 6 because that breaks our rest api. That returns 404 on all endpoints.
b
@birdy1980 You simply need to update the servlet predicate
Did you ask about this before abandoning the CommanddBox 6 image?
I could have helped you with that easily
If we use the docker image with commandbox 5.9.1 then
java search
doesn't find any versions available.
That ticket was fixed in 5.9.0 so 5..9.1 should work. I'm not aware of any current bugs related to java search. Can you create a ticket if there is one?
b
Did you ask about this before abandoning the CommanddBox 6 image? (edited)
We didn't abandon CB6. Just didn't have time to ask about it yet. One collegue who happend to download CB6 ran into the problem and I didn't have time to figure out what the problem was, so I told him to use 5.9.1
👍 1
For the other problem (java search) also didn't have time to investigate and/or report it in a ticket. We really needed to get a collegue up and running with our codebase. Now that the preassure is gone we will investigate.
Thanks for the replys and the link to servlet pass predicate. That is helpful 🙂
I'm not aware of any current bugs related to java search. Can you create a ticket if there is one?
I have created a ticket: https://ortussolutions.atlassian.net/browse/COMMANDBOX-1621
@bdw429s I have created a ticket for the
java search
problem
👍 1