I have a Docker Compose file which is almost all images being build from different Dockerfiles in the same local Git repository.
I am trying to provision an AWS AMI with them so I can run Docker Compose in AWS as well, but I’m having a hard time figuring out how to do this.
Any recommendations on how to get the Docker images onto the AMI? Should I clone the repo, build everything there, then delete the repo? Or build images as part of the Packer script and move them?
I feel like the latter sounds better but I have no idea how to do this.