Ayushi
11/01/2023, 3:24 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.