Do I really have to create a new docker image with 4 commands installed in this situation?

I want to use gitlab CI to renew SSL certificates using let’s encrypt certbot command, and then place the certificate to multiple locations using aws, jq, and ansible commands.

Must I create a docker image with certbot, aws, jq, and ansible commands installed in this situation?

Is it possible to have gitlab-runner use the following 4 docker containers instead of creating a new docker image with the 4 commands installed?

  1. certbot/dns-route53
  2. jq
  3. docker-ansible
  4. docker-aws

I know that running docker in docker should be avoided. But installing certbot, aws, jq, and ansible commands into a docker image takes a lot of time for me.

Source: StackOverflow