Cory Howitz
06/06/2024, 8:36 PMjclausen
06/06/2024, 9:45 PMonServerInstall
config like so to your server.json
or just add a CFPM_INSTALL
environment variable with the packages you want in a delimited list as the value.jclausen
06/06/2024, 9:46 PMcaching
package for ACF.Cory Howitz
06/06/2024, 9:48 PMCory Howitz
06/06/2024, 9:48 PMjclausen
06/06/2024, 9:50 PMonServerInstall
block?jclausen
06/06/2024, 9:52 PM# docker run --rm -it ortussolutions/commandbox:adobe2023 box cfpm install caching
run /bin/bash "/usr/local/lib/serverHome/WEB-INF/cfusion/bin/cfpm.sh" install caching
Downloading the package caching-2023.0.05.330608.jar
Downloading the dependent package commons-logging-1.2.jar
Downloading the dependent package slf4j-api-1.7.12.jar
Downloading the dependent package commons-pool2-2.11.1.jar
Downloading the dependent package spymemcached-2.12.3.jar
Downloading the dependent package json-20220320.jar
Downloading the dependent package jedis-4.3.1.jar
Downloading the dependent package commons-jcs-core-2.1.jar
Downloading the dependent package ehcache-web-2.0.4.jar
caching (2023.0.05.330608) package and its dependencies have been downloaded successfully.
The package and its dependencies have been downloaded successfully. ColdFusion server is currently not running. The package will be installed automatically once server is up.
Cory Howitz
06/06/2024, 9:55 PMjclausen
06/06/2024, 9:58 PMonServerInitialInstall
will only run if you are using an image that is not warmed up ( e.g. a base ortussolutions/commandbox
image ). If you are using ortussolutions/commandbox:adobe2023
, for example, you will need to use onServerInstall
Cory Howitz
06/06/2024, 10:05 PMjclausen
06/06/2024, 10:05 PMCory Howitz
06/06/2024, 10:06 PMjclausen
06/06/2024, 10:06 PMCory Howitz
06/06/2024, 10:07 PMjclausen
06/06/2024, 10:07 PMCory Howitz
06/06/2024, 10:09 PMCory Howitz
06/06/2024, 10:10 PMjclausen
06/06/2024, 10:12 PMCory Howitz
06/06/2024, 10:13 PMjclausen
06/06/2024, 10:15 PMRUN $BUILD_DIR/util/warmup-server.sh