This repository contains the build configurations for building the operator-sdk-builder image.
The builder image contains the following tools:
Refer to the .gitmodules file in order
to see the versions of operator-sdk
and kustomize
.
FROM konflux-ci/operator-sdk-builder:latest as builder
COPY ./. /repo
WORKDIR /repo
RUN kustomize build config/manifests/ \
| operator-sdk generate bundle --output-dir build
FROM scratch
COPY --from=builder /repo/build/manifests /manifests/
COPY --from=builder /repo/build/metadata /metadata/