-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
4 changed files
with
30 additions
and
9 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 |
---|---|---|
@@ -1,8 +1,21 @@ | ||
FROM alpine:3.7 | ||
FROM registry.access.redhat.com/ubi8/ubi-minimal | ||
|
||
ENV ANODOT_TAGS="source=prometheus-remote-write" | ||
ADD anodot-prometheus-remote-write /go/bin/anodot-prometheus-remote-write | ||
ARG VERSION=latest | ||
|
||
### Required OpenShift Labels | ||
LABEL name="Anodot Prometheus Remote Write" \ | ||
maintainer="support@anodot.com" \ | ||
vendor="Anodot" \ | ||
version=${VERSION} \ | ||
release="1" \ | ||
summary="https://github.com/anodot/anodot-remote-write" \ | ||
description="Service which receives Prometheus metrics through remote_write, converts metrics and sends them into Anodot" | ||
# Always include a software license in the default location | ||
COPY LICENSE.md /licenses/ | ||
|
||
COPY anodot-prometheus-remote-write /go/bin/anodot-prometheus-remote-write | ||
# ln -s required for backward compatibility with older docker images. | ||
RUN apk add --no-cache ca-certificates && ln -s /go/bin/anodot-prometheus-remote-write /go/bin/server | ||
RUN ln -s /go/bin/anodot-prometheus-remote-write /go/bin/server | ||
EXPOSE 1234 | ||
ENTRYPOINT ["/go/bin/anodot-prometheus-remote-write"] | ||
ENTRYPOINT ["/go/bin/anodot-prometheus-remote-write"] |
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