File tree Expand file tree Collapse file tree 4 files changed +22
-4
lines changed
cmd/prometheus-config-reloader Expand file tree Collapse file tree 4 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 1
1
# Copyright Contributors to the Open Cluster Management project
2
2
# Licensed under the Apache License 2.0
3
3
4
- FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_8_1.20 AS builder
4
+ FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21 AS builder
5
5
6
6
WORKDIR /workspace
7
7
COPY . .
8
8
9
9
RUN GOOS=linux GOFLAGS="" GOARCH=amd64 CGO_ENABLED=1 go build -o operator cmd/operator/main.go
10
10
11
- FROM registry.access.redhat.com/ubi8 /ubi-minimal:latest
11
+ FROM registry.access.redhat.com/ubi9 /ubi-minimal:latest
12
12
13
13
COPY --from=builder /workspace/operator /bin/operator
14
14
Original file line number Diff line number Diff line change 7
7
8
8
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o operator cmd/operator/main.go
9
9
10
- FROM registry.access.redhat.com/ubi8 /ubi-minimal:latest
10
+ FROM registry.access.redhat.com/ubi9 /ubi-minimal:latest
11
11
12
12
COPY --from=builder /workspace/operator /bin/operator
13
13
Original file line number Diff line number Diff line change
1
+ # Copyright Contributors to the Open Cluster Management project
2
+ # Licensed under the Apache License 2.0
3
+
4
+ FROM brew.registry.redhat.io/rh-osbs/openshift-golang-builder:rhel_9_1.21 AS builder
5
+
6
+ WORKDIR /workspace
7
+ COPY . .
8
+
9
+ RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o prometheus-config-reloader cmd/prometheus-config-reloader/main.go
10
+
11
+ FROM registry.access.redhat.com/ubi9/ubi-minimal:latest
12
+
13
+ COPY --from=builder /workspace/prometheus-config-reloader /bin/prometheus-config-reloader
14
+
15
+ USER nobody
16
+
17
+ ENTRYPOINT ["/bin/prometheus-config-reloader"]
Original file line number Diff line number Diff line change 1
1
# Copyright Contributors to the Open Cluster Management project
2
+ # Licensed under the Apache License 2.0
2
3
3
4
FROM registry.ci.openshift.org/stolostron/builder:go1.21-linux AS builder
4
5
7
8
8
9
RUN GOOS=linux GOARCH=amd64 CGO_ENABLED=1 go build -o prometheus-config-reloader cmd/prometheus-config-reloader/main.go
9
10
10
- FROM registry.access.redhat.com/ubi8 /ubi-minimal:latest
11
+ FROM registry.access.redhat.com/ubi9 /ubi-minimal:latest
11
12
12
13
COPY --from=builder /workspace/prometheus-config-reloader /bin/prometheus-config-reloader
13
14
You can’t perform that action at this time.
0 commit comments