Skip to content

Commit

Permalink
add note to building locally about skopeo
Browse files Browse the repository at this point in the history
  • Loading branch information
jaxesn committed Apr 11, 2024
1 parent 91e99f5 commit 66f98b9
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions docs/development/building-locally.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,30 @@ Each project folder contains a Makefile with the following build targets.
* `export BUILDKIT_HOST=docker-container://buildkitd`
* `make stop-buildkit-and-registry` to cleanup
* See [docker-auth.md](./docker-auth.md) for helpful tips for configuring, securing, and using your AWS credentials with the targets in this project.
* The following is a basic docker config for ecr-helper:
* `~/.docker/config.json`
```
{
"auths": {},
"credsStore": "ecr-login"
}

```
* If building packages with helm charts, skopeo auth has to be setup. The following is a basic skopeo config for ecr-helper:
* ` ~/.config/containers/registries.conf`
```
credential-helpers = ["ecr-login"]
```
* `~/.config/containers/policy.json`
```
{
"default": [
{
"type": "insecureAcceptAnything"
}
]
}
```
* By default, `IMAGE_REPO` will be set to your AWS account's private ECR registry based on your AWS_REGION. If you want to create the neccessary registeries
for the current project:
* `make create-ecr-repos`
Expand Down

0 comments on commit 66f98b9

Please sign in to comment.