-
Notifications
You must be signed in to change notification settings - Fork 94
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Improvements on the multi-arch container build pipeline
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
- Loading branch information
1 parent
7d38bdb
commit decbcd8
Showing
4 changed files
with
26 additions
and
74 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
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 |
---|---|---|
@@ -1,6 +1,10 @@ | ||
FROM registry.fedoraproject.org/fedora-minimal:latest as builder | ||
COPY . /kube-burner | ||
RUN microdnf install -y golang make | ||
RUN make -C kube-burner build | ||
|
||
FROM registry.fedoraproject.org/fedora-minimal:latest | ||
RUN microdnf install rsync -y && rm -Rf /var/cache/yum | ||
COPY kube-burner /bin/kube-burner | ||
COPY --from=builder kube-burner/bin/kube-burner /bin/kube-burner | ||
LABEL io.k8s.display-name="kube-burner" \ | ||
maintainer="Raul Sevilla <rsevilla@redhat.com" | ||
ENTRYPOINT ["/bin/kube-burner"] |
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