Docker image to develop golang that uses CodeCommit repos for packages
1.5K
Create a .env file with the following values:
Then you can use the following docker-compose.yml to get a working environment
version: "3.1"
services:
go:
image: iamfrisbee/go-aws-dev-env
environment:
# needs your aws credentials in order to handle connections to aws
- AWS_SSH_USER=${AWS_SSH_USER}
- AWS_ACCESS_KEY_ID=${AWS_ACCESS_KEY_ID}
- AWS_SECRET_ACCESS_KEY=${AWS_SECRET_ACCESS_KEY}
- AWS_DEFAULT_REGION=${AWS_DEFAULT_REGION}
- AWS_DEFAULT_OUTPUT=${AWS_DEFAULT_OUTPUT}
volumes:
# needs to point your ssh key into the container
- ${SSH_KEY_PATH}:/home/gouser/.ssh/id_rsa
Content type
Image
Digest
sha256:c188ad075…
Size
955.6 MB
Last updated
almost 2 years ago
docker pull iamfrisbee/go-aws-dev-env