Browse Source
fix unsupported platform container builds (#8838)
* ci: reintroduce Trivy report and gate workflow
* ci: add dry-run mode to container release workflow
* docker: fix unsupported platform builds
pull/8839/head
Chris Lu
3 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with
1 additions and
1 deletions
-
docker/Dockerfile.go_build
|
|
@ -21,7 +21,7 @@ RUN cd /go/src/github.com/seaweedfs/seaweedfs/weed \ |
|
|
FROM alpine:3.23 as rust_builder |
|
|
FROM alpine:3.23 as rust_builder |
|
|
ARG TARGETARCH |
|
|
ARG TARGETARCH |
|
|
COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/seaweed-volume /build/seaweed-volume |
|
|
COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/seaweed-volume /build/seaweed-volume |
|
|
COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/proto /build/proto |
|
|
|
|
|
|
|
|
COPY --from=builder /go/src/github.com/seaweedfs/seaweedfs/weed/pb /build/weed/pb |
|
|
WORKDIR /build/seaweed-volume |
|
|
WORKDIR /build/seaweed-volume |
|
|
ARG TAGS |
|
|
ARG TAGS |
|
|
RUN if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ]; then \ |
|
|
RUN if [ "$TARGETARCH" = "amd64" ] || [ "$TARGETARCH" = "arm64" ]; then \ |
|
|
|