birdy1980
07/10/2024, 10:18 AMjclausen
07/10/2024, 2:20 PMjclausen
07/10/2024, 2:21 PMbirdy1980
07/10/2024, 2:25 PMbirdy1980
07/10/2024, 2:27 PMjclausen
07/10/2024, 2:33 PMdougcain
07/10/2024, 2:33 PMbirdy1980
07/10/2024, 2:48 PMbirdy1980
07/10/2024, 2:49 PMdougcain
07/10/2024, 2:51 PMdougcain
07/10/2024, 2:52 PMbdw429s
07/10/2024, 6:54 PMbdw429s
07/10/2024, 6:54 PMbdw429s
07/10/2024, 6:55 PMbdw429s
07/10/2024, 6:55 PMbdw429s
07/10/2024, 6:55 PMjclausen
07/10/2024, 9:28 PMdocker run —rm -it ortussolutions/commandbox:3.9.3 /bin/sh -c "cat /proc/version"
dougcain
07/10/2024, 10:04 PM# cat /proc/version
Linux version 6.6.32-linuxkit (root@buildkitsandbox) (gcc (Alpine 13.2.1_git20240309) 13.2.1 20240309, GNU ld (GNU Binutils) 2.42) #1 SMP Thu Jun 13 14:13:01 UTC 2024
# box info
****************************************************************************************************
* About CommandBox *
****************************************************************************************************
* *
* *
* CommandBox Version: 6.0.0+00787 *
* CommandBox Authors: Brad Wood, Luis Majano, Denny Valiant *
* CommandBox Binary /usr/local/bin/box *
* CommandBox Home /usr/local/lib/CommandBox *
* CFML Engine: Lucee *
* CFML Version: 5.4.4.38 stable (Gelert) *
* Java Version: 11.0.23 (Eclipse Adoptium) *
* Java Path: /opt/java/openjdk/bin/java *
* OS Username root *
* JLine Terminal org.jline.terminal.impl.PosixSysTerminal *
* Runwar Version 5.0.0 (/usr/local/lib/CommandBox/lib/runwar-5.0.0.jar) *
* *
* *
****************************************************************************************************
dougcain
07/10/2024, 10:06 PM# cat /etc/*ease
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04.4 LTS"
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
VERSION="22.04.4 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
#
bdw429s
07/10/2024, 10:07 PMgcc (Alpine 13.2.1_git20240309)
?dougcain
07/10/2024, 10:08 PMbdw429s
07/10/2024, 10:08 PMThis situation typically occurs in containerized environments where the base image might use a different distribution than the underlying host. The kernel might be from a LinuxKit environment used by Docker, but the userland (the utilities and libraries) is from Ubuntu.
To summarize:
• Kernel and build environment: LinuxKit with Alpine components.
• Userland (OS): Ubuntu 22.04.4 LTS (Jammy Jellyfish).
So, this system runs an Ubuntu userland on a kernel that may have been built using Alpine tools in a LinuxKit environment.
bdw429s
07/10/2024, 10:08 PMdougcain
07/10/2024, 10:10 PMdougcain
07/10/2024, 10:10 PMbdw429s
07/10/2024, 10:10 PMcat /etc/os-release
bdw429s
07/10/2024, 10:11 PMdougcain
07/10/2024, 10:11 PMcat /etc/os-release
PRETTY_NAME="Ubuntu 22.04.4 LTS"
NAME="Ubuntu"
VERSION_ID="22.04"
bdw429s
07/10/2024, 10:11 PMbdw429s
07/10/2024, 10:11 PMbdw429s
07/10/2024, 10:12 PM/etc/os-release
exists on every linux distro, but perhaps we check that firstbdw429s
07/10/2024, 10:12 PMdougcain
07/10/2024, 10:13 PMjclausen
07/10/2024, 10:17 PMarch
or uname -m
https://ioflood.com/blog/arch-command-in-linux/#:~:text=Use%20the%20'arch'%20command%20as,m'%20command%20as%20an%20alternative.
For ARM, the JDK also needs to have the the architecture in the version, like so: https://cfml.slack.com/archives/C06TSRXCJ/p1719408806831289?thread_ts=1719248018.085809&channel=C06TSRXCJ&message_ts=1719408806.831289bdw429s
07/10/2024, 10:20 PMdougcain
07/10/2024, 10:21 PM/app # cat /etc/os-release
NAME="Alpine Linux"
ID=alpine
VERSION_ID=3.19.2
PRETTY_NAME="Alpine Linux v3.19"
HOME_URL="<https://alpinelinux.org/>"
BUG_REPORT_URL="<https://gitlab.alpinelinux.org/alpine/aports/-/issues>"
birdy1980
07/16/2024, 6:49 AMbirdy1980
07/16/2024, 6:50 AMdougcain
07/16/2024, 8:25 AMbdw429s
07/16/2024, 8:28 AMbdw429s
07/16/2024, 8:28 AMbirdy1980
07/16/2024, 8:28 AMbdw429s
07/16/2024, 8:38 AMbox
binary and overwrite the existing onebirdy1980
07/16/2024, 8:45 AMbox-thin
?dougcain
07/16/2024, 9:05 AMbirdy1980
07/16/2024, 9:53 AMbdw429s
07/16/2024, 5:26 PMbdw429s
07/16/2024, 5:26 PMbin
file for *nixbdw429s
07/16/2024, 5:27 PMbdw429s
07/16/2024, 5:27 PM6.0.1
to 6.1.0
before I release.jclausen
07/16/2024, 5:33 PMFROM ortussolutions/commandbox
RUN rm -rf ${BIN_DIR}/box ${BIN_DIR}/commandbox.properties $COMMANDBOX_HOME
ENV COMMANDBOX_VERSION 6.0.1
RUN ${BUILD_DIR}/util/install-commandbox.sh
... do more stuff here if you need to ...
bdw429s
07/16/2024, 5:49 PMbirdy1980
07/17/2024, 12:09 PM... do more stuff here if you need to ...
?
I have never build new docker images... If I use the new build image my application doesn't start anymore CFConfig couldn't find the CF Home for [from] CommandBox server [studiemeter-lucee]. Please give me a hint with the format parameter
I have set these 2 variables in my docker-compose.yml
environment:
- APP_DIR=/app/htdocs-studiemeter
- BOX_SERVER_APP_SERVERHOMEDIRECTORY=/opt/commandbox/studiemeter
Do I have to do something with those variables in the dockerfile
?