I was unhappy with the Codebuild provided images for jobs (ancient Ubuntu 14.04 images, eol in April), so these are my generic DIND Codebuild base images. Includes aws cli, python, and a few other necessities.
tuxpiper/codebuild-dind
Base Image for usage with running Codebuild jobs with DIND (Docker in Docker)
Dockerfile