Skip to content

Commit

Permalink
Doc
Browse files Browse the repository at this point in the history
  • Loading branch information
reachfh committed Jul 6, 2020
1 parent ba4543d commit f4835ed
Showing 1 changed file with 7 additions and 3 deletions.
10 changes: 7 additions & 3 deletions terraform/building.md
Original file line number Diff line number Diff line change
Expand Up @@ -479,7 +479,8 @@ Create Elasticsearch domain:
* ecr-app

export REPO_URI=$(terragrunt output repository_url)
aws ecr get-login --no-include-email | bash
# aws ecr get-login --no-include-email | bash
aws ecr get-login-password --region $AWS_DEFAULT_REGION | docker login --username AWS --password-stdin $REPO_URI
pushd ~/work/phoenix_container_example
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build -t $REPO_URI -f deploy/Dockerfile.alpine .
docker push $REPO_URI
Expand All @@ -490,10 +491,13 @@ Create Elasticsearch domain:
export REPO_URI=$(terragrunt output repository_url)
aws ecr get-login --no-include-email | bash
pushd ~/work/phoenix_container_example
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build -t $REPO_URI -f deploy/Dockerfile.codebuild .
docker push $REPO_URI
# DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build -t $REPO_URI -f deploy/Dockerfile.codebuild .
# docker push $REPO_URI
DOCKER_CLI_EXPERIMENTAL=enabled docker buildx build --push -t $REPO_URI -f deploy/Dockerfile.codebuild .
popd

https://github.com/aws/aws-codebuild-docker-images/blob/master/ubuntu/standard/4.0/Dockerfile

* ecs-task-app

* target-group-app-ecs-1
Expand Down

0 comments on commit f4835ed

Please sign in to comment.