#docker - April 2020

dockerArchived
5 messages

All things docker
Archive: https://archive.sweetops.com/docker/

Shawn Petersen
Shawn Petersenover 6 years ago
Can someone explain the reasoning why all the buildspec.yml examples I see for AWS CodeBuild/CodePipeline have you push up 2 docker images to ECR?

like this:
post_build:
commands:
- echo Build completed on date
- echo Pushing the Docker images...
#
- docker push $REPOSITORY_URI:latest
- docker push $REPOSITORY_URI:$IMAGE_TAG

I'm probably missing something basic here...
Zachary Loeber
Zachary Loeberover 6 years ago
Its the same image, just tagged twice
Zachary Loeber
Zachary Loeberover 6 years ago
once with the evil latest tag, another with your image_tag
Shawn Petersen
Shawn Petersenover 6 years ago
is there a better way to do it? All the examples I've seen use latest, but i'm open to a better way?
Gabe
Gabeover 6 years ago
Does anyone have experience with using instance storage vice EBS for EC2 instances in ECS? If so, was there any noticeable performance gain?