Skip to content

Commit 2f05cda

Browse files
committed
ÜPDATE ubi base image in order to fix OS vulnerabilities
1 parent 45fb13d commit 2f05cda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Dockerfile

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
FROM quay.io/prometheus/golang-builder as builder
1+
FROM quay.io/prometheus/golang-builder AS builder
22

33
ARG PROMU_VERSION=0.13.0
44
ADD https://github.com/prometheus/promu/releases/download/v${PROMU_VERSION}/promu-${PROMU_VERSION}.linux-amd64.tar.gz ./
@@ -10,14 +10,14 @@ WORKDIR /go/src/github.com/prometheus-community/elasticsearch_exporter
1010
RUN go mod download
1111
RUN make
1212

13-
FROM scratch as scratch
13+
FROM scratch AS scratch
1414

1515
COPY --from=builder /go/src/github.com/prometheus-community/elasticsearch_exporter/elasticsearch_exporter /bin/elasticsearch_exporter
1616

1717
EXPOSE 9114
1818
ENTRYPOINT [ "/bin/elasticsearch_exporter" ]
1919

20-
FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.0 as ubi
20+
FROM quay.io/sysdig/sysdig-mini-ubi9:1.3.2 AS ubi
2121

2222
COPY --from=builder /go/src/github.com/prometheus-community/elasticsearch_exporter/elasticsearch_exporter /bin/elasticsearch_exporter
2323

0 commit comments

Comments
 (0)