http://coldfusion.com logo
d

dbinott

07/24/2022, 4:21 PM
Yes, but I don't understand it. I have heard and read that you don't need to clone the repo anymore, but if I don't, then I get errors because it is looking for files in the repo. I looked at the progressive one, but it's based on Lucee.
b

bdw429s

07/25/2022, 1:39 AM
@dbinott it's not really clear what you're trying to do, but the ortussolutions/commandbox docker imaged are hosted on Docker Hub. You shouldn't need to do anything with the git repo.
Please show us your Docker file and describe what part isn't working.
d

dbinott

07/25/2022, 12:24 PM
I was using https://github.com/Ortus-Solutions/docker-commandbox/blob/development/builds/alpine/Adobe2021.Dockerfile https://github.com/Ortus-Solutions/docker-commandbox/blob/development/builds/base/Alpine.Dockerfile w/o cloning and would obviously get errors for anything in the build and test directory. and java.security missing. Then i watched @jclausen video on cfcasts about progressive builds, but since building dockers are somewhat new to me, it was a bit over my head.
I have some experience with them, but only through my Unraid server.
I would like to be able to deploy my coldbox app via commandbox docker with a build that has what I need from the ACF21 modules.
j

jclausen

07/25/2022, 12:36 PM
@dbinott as Brad said, you really don't need to use the repo files to customize your image. Just start from the base image or a pre-warmed server image and build upon that.
So, with the 2021 image as a base, for example, make that your FROM in the Dockerfile and then run your CFPM commands to install the modules
d

dbinott

07/25/2022, 12:42 PM
ahh, ok I think I get it. Guess I was just getting confused with all the bash scripts being called and the FROM eclipse-temurin:11-jre-alpine.
j

jclausen

07/25/2022, 12:45 PM
Yes, those are the scripts that build both the base and server-versioned images. There’s no need to duplicate effort, though, if all you want is to extend the Adobe 2021 base image.
👍 1
d

dbinott

07/25/2022, 12:45 PM
Thanks John
🙂 1
OK, got it going, but I get this error which I don't get in the non-docker version . The HTTP call to https://mandrillapp.com/api/1.0/messages/search-time-series failed. It is very likely that the Mandril API key is incorrect.
☝️ 1
But it is not, it's the exact same code base and works fine outside of docker.