File tree Expand file tree Collapse file tree
object-lease-console-plugin Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1- FROM golang:1.25
1+ FROM golang:1.25@sha256:698183780de28062f4ef46f82a79ec0ae69d2d22f7b160cf69f71ea8d98bf25d
22
33ENV PYTHONDONTWRITEBYTECODE=1 \
44 PYTHONUNBUFFERED=1
Original file line number Diff line number Diff line change 1- FROM golang:1.25 AS builder
1+ FROM golang:1.25@sha256:698183780de28062f4ef46f82a79ec0ae69d2d22f7b160cf69f71ea8d98bf25d AS builder
22WORKDIR /workspace
33COPY go.mod go.sum ./
44RUN go mod download
55COPY . .
66RUN CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -o /lease-controller ./cmd/main.go
77
8- FROM gcr.io/distroless/static:nonroot
8+ FROM gcr.io/distroless/static:nonroot@sha256:e8a4044e0b4ae4257efa45fc026c0bc30ad320d43bd4c1a7d5271bd241e386d0
99COPY --from=builder /lease-controller /lease-controller
1010ENTRYPOINT ["/lease-controller" ]
Original file line number Diff line number Diff line change 11# Build stage
2- FROM node:24-alpine AS builder
2+ FROM node:24-alpine@sha256:2867d550cf9d8bb50059a0fff528741f11a84d985c732e60e19e8e75c7239c43 AS builder
33WORKDIR /opt/app
44COPY package.json tsconfig.json webpack.config.js ./
55COPY src ./src
@@ -8,7 +8,7 @@ RUN yarn install --frozen-lockfile || yarn install \
88 && yarn build
99
1010# Runtime stage: serve plugin assets over HTTPS with service certs
11- FROM registry.access.redhat.com/ubi9/nginx-120:latest
11+ FROM registry.access.redhat.com/ubi9/nginx-120:latest@sha256:01cebb3515239cecfe3e3443e5cf040f892429e401d241e844698588ee2a3424
1212# Copy build
1313COPY --from=builder /opt/app/dist/ /opt/app-root/src/
1414COPY run.sh /usr/local/bin/run.sh
Original file line number Diff line number Diff line change 11# Build the manager binary
2- FROM quay.io/operator-framework/helm-operator:v1.42.0
2+ FROM quay.io/operator-framework/helm-operator:v1.42.0@sha256:102abedc1eb4ece4187eab36107cb3176e672ff6bf17d64396cd903ce13affa0
33
44# ## Required OpenShift Labels
55LABEL name="Object Lease Operator" \
You can’t perform that action at this time.
0 commit comments