-
Notifications
You must be signed in to change notification settings - Fork 41
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add ubi release pipeline * add ubi dev pipeline * add dockerfile * fix repo url * update image name * temporarily disable windows builds * fix endline * fix license * working dockerfile * clean * fix newline * add suffix to regular tag * fix build tag name * add changelog * fix fips build name * remove redundant lines from Dockerfile * update dockerfile
- Loading branch information
1 parent
35a1225
commit 28d1a7f
Showing
6 changed files
with
81 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 @@ | ||
ci: build ubi-based images |
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,33 @@ | ||
ARG BUILD_TAG | ||
ARG REPO_URL=sumologic-otel-collector | ||
ARG BUILD_ARCH | ||
|
||
## Build RedHat compliant image | ||
FROM registry.access.redhat.com/ubi8/ubi-minimal:8.9 | ||
|
||
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="collection@sumologic.com" | ||
|
||
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 | ||
ARG USER_UID=10001 | ||
USER ${USER_UID} | ||
ENV HOME /etc/otel/ | ||
|
||
COPY otelcol-sumo / | ||
|
||
ENTRYPOINT ["/otelcol-sumo"] | ||
CMD ["--config", "/etc/otel/config.yaml"] |
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