Skip to content

Commit 2aca6c1

Browse files
Michael McNeesclaude
authored andcommitted
fix(release): remove TARGETPLATFORM indirection from goreleaser Dockerfile
goreleaser builds each arch image in a separate pass, placing only that arch's binary at the root of the build context as plain "mantle". The COPY $TARGETPLATFORM/mantle pattern is for manual multi-arch builds where all binaries coexist in one context — it doesn't apply here. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f4ddbaf commit 2aca6c1

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

packages/engine/Dockerfile.goreleaser

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,7 @@ RUN apk add --no-cache ca-certificates tzdata \
44
&& addgroup -S mantle \
55
&& adduser -S -u 10001 -G mantle -h /home/mantle -s /bin/sh mantle
66

7-
ARG TARGETPLATFORM
8-
COPY $TARGETPLATFORM/mantle /usr/local/bin/mantle
7+
COPY mantle /usr/local/bin/mantle
98

109
ENV MANTLE_LOG_LEVEL=info
1110
ENV MANTLE_API_ADDRESS=:8080

0 commit comments

Comments
 (0)