mjhagen
job.addLog()
) but figured I don't need to see it on the console, so I changed those to writeLog()
. It gets logged to the lucee log files in /usr/local/lib/CommandBox/engine/cfml/cli/cfml-web/logs
now, but I don't think that's right, I think Docker likes it if things get logged to stdout
but have no idea how to do that. Any ideas?Adam Cameron
/dev/stdout
as a log? Or Lucee had a function systemOutput
or something that is like writeOutput
except writes to stdout
. On a train and on my phone so will leave it to you to googleAdam Cameron
mjhagen
Adam Cameron
mjhagen
bdw429s
12/12/2022, 6:45 PMbdw429s
12/12/2022, 6:45 PMbdw429s
12/12/2022, 6:46 PMCMD
in the DockerFile)bdw429s
12/12/2022, 6:46 PMbdw429s
12/12/2022, 6:47 PMfoundeo/minibox
(the Ortus image is really custom-designed for servers only) and I run box task run ...
as the CMD
of the actual container and works finemjhagen
bdw429s
12/12/2022, 7:26 PMprint.table()
stuff. I'll usually override it by setting the terminalWidth
config setting to something like 200
bdw429s
12/12/2022, 7:26 PMconfigService.setSetting( 'terminalWidth', 200 );
or as an env var like
box_config_terminalWidth=200
mjhagen
bdw429s
12/12/2022, 7:41 PMmjhagen
bdw429s
12/12/2022, 7:41 PMbdw429s
12/12/2022, 7:41 PMbdw429s
12/12/2022, 7:41 PMmjhagen
azul/zulu-openjdk-alpine:8-jre
bdw429s
12/12/2022, 7:42 PMmjhagen
bdw429s
12/12/2022, 7:44 PMbox
onto your favorite M1-compat base image with a simple docker filebdw429s
12/12/2022, 7:45 PMmjhagen
mjhagen
bdw429s
12/12/2022, 7:55 PMmjhagen