Skip to content

Commit f13f543

Browse files
committed
UPSTREAM: <carry>: fix xplat compile for of-tools image; hide utest files from git
Signed-off-by: Jordan Keister <[email protected]>
1 parent e45e646 commit f13f543

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -468,3 +468,6 @@ scripts/**/*.crc.e2e.patch.yaml
468468

469469
# downstream sync sha files
470470
*.cherrypick
471+
472+
# unit test artifacts
473+
vendor/github.com/operator-framework/operator-registry/pkg/lib/indexer/index.Dockerfile*

operator-framework-tools.Dockerfile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,10 @@ RUN make build/registry cross
2121

2222
FROM scratch
2323

24+
# copy a rhel-specific instance
2425
COPY --from=builder /src/bin/opm /tools/opm-rhel9
25-
COPY --from=builder /src/bin/darwin-amd64-opm /tools/darwin-amd64-opm
26-
COPY --from=builder /src/bin/windows-amd64-opm /tools/windows-amd64-opm
26+
# copy all other generated binaries, including any cross-compiled
27+
COPY --from=builder /src/bin/*opm /tools/
2728

2829
# copy the dynamically-linked versions to /tools with a -rhel8 suffix
2930
COPY --from=builder-rhel8 /src/bin/opm /tools/opm-rhel8

0 commit comments

Comments
 (0)