-
Notifications
You must be signed in to change notification settings - Fork 23
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* generate ocmcli-image * docker cli build: add sources, remove platforms * Update Makefile with correct platform for image build --------- Co-authored-by: Uwe Krueger <[email protected]> Co-authored-by: Gerald Morrison <[email protected]>
- Loading branch information
1 parent
5d13477
commit f13759d
Showing
4 changed files
with
76 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
ARG SUFFIX | ||
ARG OCM_VERSION | ||
ARG ALPINE_VERSION | ||
FROM --platform=$BUILDPLATFORM alpine:${ALPINE_VERSION} | ||
ARG SUFFIX | ||
ARG OCM_VERSION | ||
ARG ALPINE_VERSION | ||
|
||
LABEL org.opencontainers.image.description Open Component Model Client ${OCM_VERSION} based on Alpine ${ALPINE_VERSION} | ||
COPY gen/ocmcli/ocmcli.$SUFFIX /usr/bin/ocm |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
name: source | ||
type: filesytem | ||
access: | ||
type: github | ||
repoUrl: github.com/open-component-model/ocm | ||
commit: ${COMMIT} | ||
version: ${VERSION} |