Skip to content

Build multi-arch controller images#153

Merged
scothis merged 2 commits intoservicebinding:mainfrom
scothis:multi-arch
Aug 5, 2022
Merged

Build multi-arch controller images#153
scothis merged 2 commits intoservicebinding:mainfrom
scothis:multi-arch

Conversation

@scothis
Copy link
Member

@scothis scothis commented Aug 4, 2022

By default we build the controller for all architectured supported by
the default base image gcr.io/distroless/static:nonroot. Including:

  • linux/arm64
  • linux/arm
  • linux/ppc64le
  • linux/s390x
  • linux/amd64

At development time, a subset can be built by setting KO_PLATFORMS:

KO_PLATFORMS=linux/amd64 make deploy

Resolves #150

Signed-off-by: Scott Andrews andrewssc@vmware.com

By default we build the controller for all architectured supported by
the default base image `gcr.io/distroless/static:nonroot`. Including:
- linux/arm64
- linux/arm
- linux/ppc64le
- linux/s390x
- linux/amd64

At development time, a subset can be built by setting KO_PLATFORMS:

```
KO_PLATFORMS=linux/amd64 make deploy
```

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@scothis scothis requested review from a team and baijum August 4, 2022 22:13
Copy link
Contributor

@baijum baijum left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
@scothis scothis merged commit f4c659c into servicebinding:main Aug 5, 2022
@scothis scothis deleted the multi-arch branch August 5, 2022 01:26
sadlerap pushed a commit to sadlerap/service-binding-runtime that referenced this pull request Aug 24, 2022
By default we build the controller for all architectured supported by
the default base image `gcr.io/distroless/static:nonroot`. Including:
- linux/arm64
- linux/arm
- linux/ppc64le
- linux/s390x
- linux/amd64

At development time, a subset can be built by setting KO_PLATFORMS:

```
KO_PLATFORMS=linux/amd64 make deploy
```

Signed-off-by: Scott Andrews <andrewssc@vmware.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Create multi-architecture container images

2 participants