Repo for base images used across multiple services. Created as the solution to dockerhub rate limts as suggested by AWS.
To run this repo you will need:
- aws-vault
- access to shared-services
-
Update the shared services infrastruture to create your ECR repository. This can be done here by adding the repository name to
main.tf
in theecr_images
module scope. Make a note of the name chosen. -
Create a folder under
images
with the same name as the repository in step one. -
Add a Dockerfile to this folder and populate it with the correct base image value.
-
Run:
aws-vault exec moj-pttp-shared-services -- make build-and-publish