A simple container for cloud-related development sandbox with tools for:
- Cloud providers CLIs (Azure, AWS, GCP)
- Infrastructure Provisioner (Terraform)
- Network troubleshooting
- etc.
Create a .env
file containing the variables for authenticating into the cloud providers' cli, as for example:
# AWS CLI Configuration
AWS_ACCESS_KEY_ID=
AWS_SECRET_ACCESS_KEY=
AWS_DEFAULT_REGION=us-east-1
AWS_DEFAULT_OUTPUT=json
Set your dockerhub username as environment variable:
export DOCKERHUB_USERNAME=fsschmitt
docker build . --tag ${DOCKERHUB_USERNAME}/cloud-sandbox
docker push ${DOCKERHUB_USERNAME}/cloud-sandbox
docker run -t -i --rm ${DOCKERHUB_USERNAME}/cloud-sandbox:latest bash