forked from observatorium/api
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathDockerfile.art
More file actions
34 lines (27 loc) · 1.48 KB
/
Dockerfile.art
File metadata and controls
34 lines (27 loc) · 1.48 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
FROM registry-proxy.engineering.redhat.com/rh-osbs/openshift-golang-builder:v1.24.6-202510150934.g4284440.el9 AS builder
ENV GOEXPERIMENT=strictfipsruntime
ENV CGO_ENABLED=1
ENV GOOS=linux
ENV GOFLAGS="-p=4"
COPY . /opt/app-root/src/lokistack-gateway
WORKDIR /opt/app-root/src/lokistack-gateway
RUN go build -tags strictfipsruntime -a -ldflags '-s -w' -o lokistack-gateway .
FROM registry.access.redhat.com/ubi9/ubi-minimal
COPY --from=builder /opt/app-root/src/lokistack-gateway/lokistack-gateway /usr/bin/lokistack-gateway
EXPOSE 80
ENTRYPOINT ["/usr/bin/lokistack-gateway"]
LABEL com.redhat.component="lokistack-gateway-container" \
description="Horizontally-scalable authn/authz-securing reverse proxy for Loki." \
distribution-scope="subscription" \
io.k8s.description="Horizontally-scalable authn/authz-securing reverse proxy for Loki." \
io.k8s.display-name="OpenShift Lokistack Gateway" \
io.openshift.maintainer.component="Logging" \
io.openshift.maintainer.product="OpenShift Container Platform" \
io.openshift.tags="openshift,logging,loki" \
maintainer="AOS Logging <team-logging@redhat.com>" \
name="openshift-logging/lokistack-gateway-rhel9" \
summary="Horizontally-scalable authn/authz-securing reverse proxy for Loki." \
url="https://catalog.redhat.com/en/software/containers/openshift-logging/lokistack-gateway-rhel9/64479925e1820602a81cdf06" \
vendor="Red Hat, Inc." \
version_minor="v0.1" \
version=v0.1.0