Ayushi
11/01/2023, 3:52 PMHi I am running docker container of ortussolutions/commandbox:adobe2021-3.8.0
with cfengine = adobe@2021 on ECS Fargate task.
When container starts running it is missing all these packages mentioned in install.txt file:
packages=felixclassloader\:2021.0.3.329779,zip:\2021.0.02.328618,chart\:2021.0.02.328618,pdf\:2021.0.02.328618,awss3legacy\:2021.0.02.328618,feed\:2021.0.02.328618,sqlserver\:2021.0.02.328618,document\:2021.0.02.328618,scheduler\:2021.0.02.328618,debugger\:2021.0.02.328618,mail\:2021.0.02.328618,image\:2021.0.02.328618,spreadsheet\:2021.0.02.328618,caching\:2021.0.02.328618,adminapi\:2021.0.02.328618,administrator\:2021.0.02.328618
All this packages are needed for our coldfusion application. I tried installing all the packages via below command in dockerfile but it doesn't help:
FROM ortussolutions/commandbox:adobe2021-3.8.0
WORKDIR /app
ENV ACCEPT_EULA "Y"
RUN box cfpm import /app/config/install.txt
Also, I tried running this command as entrypoint script but still getting same error. Since the docker image (ortussolutions/commandbox:adobe2021-3.8.0 ) once start running the container, it create WEB_INF dir and other startup process post which only it accept this command ( box cfpm import /app/config/install.txt_ to work.
For this we have to wait around 4-5 minutes then execute this command manually in docker cotnainer to get all packages installed. Anyway we can automate that during docker build.bdw429s
11/01/2023, 6:41 PMbdw429s
11/01/2023, 6:42 PMbdw429s
11/01/2023, 6:43 PMbdw429s
11/01/2023, 6:43 PMAyushi
11/02/2023, 9:58 AMAyushi
11/02/2023, 10:01 AMbdw429s
11/02/2023, 12:53 PMbdw429s
11/02/2023, 12:54 PMAyushi
11/02/2023, 1:52 PM[INFO] 2023-11-02T13:33:50Z runwar.context - Nov 2, 2023 13:33:50 PM Error [XNIO-1 task-2] - The caching package is not installed.You can install package through CLI package manager (/app/WEB-INF/cfusion/bin/cfpm.sh) by running the command : install caching. The specific sequence of files included or processed is: /app/front.cfm, line: 290
[INFO] 2023-11-02T13:30:31Z runwar.server - Server is up - http-port:8080 stop-port:36085 PID:6 version 4.8.5
[INFO] 2023-11-02T13:30:31Z runwar.server - ******************************************************************************
[INFO] 2023-11-02T13:30:31Z runwar.server - *** starting 'stop' listener thread - Host: 0.0.0.0 - Socket: 36085
[INFO] 2023-11-02T13:30:31Z runwar.server - ******************************************************************************
[INFO] 2023-11-02T13:30:31Z runwar.context - Nov 2, 2023 13:30:31 PM Information [main] - ColdFusion: application services are now available
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - ColdFusion started
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - report package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - exchange package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - sharepoint package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - azureservicebus package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - awsdynamodb package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - awssqs package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - awssns package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - ftp package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - scheduler package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - Starting sql...
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - sqlserver package will not be deployed as it is not installed.
[INFO] 2023-11-02T13:30:30Z runwar.context - Nov 2, 2023 13:30:30 PM Information [main] - odbc package will not be deployed as it is not installed.bdw429s
11/02/2023, 5:26 PM