Skip to content

Commit

Permalink
Fixes segmentation fault cross compile on macOS
Browse files Browse the repository at this point in the history
```sh
9.676 internal/bytealg: /opt/app-root/src/go/pkg/tool/linux_amd64/asm: signal: segmentation fault (core dumped)
12.78 cloud.google.com/go/storage/internal: /opt/app-root/src/go/pkg/tool/linux_amd64/compile: signal: segmentation fault (core dumped)
```

similar to fix seen at https://github.com/replicatedhq/local-volume-provider/pull/66/files#diff-5b6228cfe643850b0b1c8d2b5d69430bb121272e145b651c2ff6a85c23895b4eR1
for replicatedhq/local-volume-provider#65 (comment)

Signed-off-by: Tiger Kaovilai <[email protected]>
  • Loading branch information
kaovilai committed Dec 10, 2024
1 parent b6fe707 commit a41a100
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Build the manager binary
FROM quay.io/konveyor/builder:ubi9-latest AS builder
FROM --platform=$BUILDPLATFORM quay.io/konveyor/builder:ubi9-latest AS builder
ARG TARGETOS
ARG TARGETARCH

Expand Down

0 comments on commit a41a100

Please sign in to comment.