https://github.com/jch254/dind-terraform-aws
Docker-powered build/deployment environment for Docker projects
https://github.com/jch254/dind-terraform-aws
aws aws-codebuild build-environment ci codebuild dind dind-terraform-aws docker terraform
Last synced: about 1 year ago
JSON representation
Docker-powered build/deployment environment for Docker projects
- Host: GitHub
- URL: https://github.com/jch254/dind-terraform-aws
- Owner: jch254
- Created: 2017-06-08T07:35:08.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2024-04-02T07:53:31.000Z (about 2 years ago)
- Last Synced: 2025-03-28T20:51:15.420Z (about 1 year ago)
- Topics: aws, aws-codebuild, build-environment, ci, codebuild, dind, dind-terraform-aws, docker, terraform
- Language: Dockerfile
- Homepage: https://hub.docker.com/r/jch254/dind-terraform-aws/
- Size: 18.6 KB
- Stars: 3
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Dind-terraform-aws
[](https://hub.docker.com/r/jch254/dind-terraform-aws)
Docker-powered build/deployment environment for Docker projects on AWS. This Docker image is intended for use with [AWS CodeBuild](https://aws.amazon.com/codebuild).
This image is based on docker:dind (Alpine-based) and has Terraform 1.7.5 and the AWS CLI installed (see [Dockerfile](./Dockerfile) for all other installed utilities).
All CodeBuild projects that use this image to build Docker images must have privileged mode set to true, otherwise associated builds that attempt to interact with the Docker daemon will fail. The Docker daemon must be started so that builds can interact with it as needed. One way to do this is to initialize the Docker daemon in the install phase of your CodeBuild buildspec.yml by running the following build commands:
```
- nohup /usr/local/bin/dockerd --host=unix:///var/run/docker.sock --host=tcp://0.0.0.0:2375 --storage-driver=overlay&
- timeout 15 sh -c "until docker info; do echo .; sleep 1; done"
```
See: for further info.