-
Notifications
You must be signed in to change notification settings - Fork 40
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: build UBI image for arm64 (#1594)
* feat: build UBI image for arm64 Signed-off-by: Dominik Rosiek <[email protected]> * chore: changelog Signed-off-by: Dominik Rosiek <[email protected]> * feat: add arm images to manifest Signed-off-by: Dominik Rosiek <[email protected]> * chore: fix platforms Signed-off-by: Dominik Rosiek <[email protected]> * feat: ensure TAG is set correctly Signed-off-by: Dominik Rosiek <[email protected]> --------- Signed-off-by: Dominik Rosiek <[email protected]>
- Loading branch information
1 parent
006bb7a
commit 5204a99
Showing
4 changed files
with
37 additions
and
42 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 @@ | ||
feat: build UBI image for arm64 |
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 |
---|---|---|
|
@@ -5,24 +5,26 @@ ARG BUILD_ARCH | |
## Build RedHat compliant image | ||
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.10 | ||
|
||
ARG BUILD_TAG | ||
ENV TAG $BUILD_TAG | ||
|
||
ENV SUMMARY="UBI based sumologic-otel-collector" \ | ||
DESCRIPTION="Sumo Logic Distribution for OpenTelemetry Collector is a Sumo Logic-supported distribution of the OpenTelemetry Collector. It is a single agent to send logs, metrics and traces to Sumo Logic." | ||
|
||
LABEL name="sumologic-otel-collector" \ | ||
vendor="Sumo Logic" \ | ||
version="$BUILD_TAG" \ | ||
release="0" \ | ||
summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
maintainer="[email protected]" | ||
vendor="Sumo Logic" \ | ||
version="$BUILD_TAG" \ | ||
release="0" \ | ||
summary="$SUMMARY" \ | ||
description="$DESCRIPTION" \ | ||
io.k8s.description="$DESCRIPTION" \ | ||
maintainer="[email protected]" | ||
|
||
ADD https://raw.githubusercontent.com/SumoLogic/sumologic-otel-collector/main/LICENSE \ | ||
/licenses/LICENSE | ||
|
||
RUN microdnf update && microdnf install systemd && microdnf clean all | ||
|
||
ENV TAG $BUILD_TAG | ||
|
||
COPY otelcol-sumo / | ||
# This shouldn't be necessary but sometimes we end up with execution bit not set | ||
|