Skip to content

Commit

Permalink
try cross-compile taiko-client
Browse files Browse the repository at this point in the history
  • Loading branch information
mask-pp committed Sep 25, 2024
1 parent ba883fb commit de85f22
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions packages/taiko-client/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,12 @@ RUN if [ "$TARGETARCH" == "amd64" ]; then \
echo "amd64: TARGETOS=${TARGETOS}, TARGETARCH=${TARGETARCH}"; \
GOOS="${TARGETOS}" GOARCH="${TARGETARCH}" \
echo "amd64: GOOS=${GOOS}, GOARCH=${TARGETARCH}"; \
GOOS=linux GOARCH=amd64 make build; \
else \
echo "arm64: TARGETOS=${TARGETOS}, TARGETARCH=${TARGETARCH}"; \
GOOS="${TARGETOS}" GOARCH="${TARGETARCH}" \
echo "arm64: GOOS=${GOOS}, GOARCH=${TARGETARCH}"; \
GOOS=linux GOARCH=arm64 make build; \
fi

#FROM alpine:latest
Expand Down

0 comments on commit de85f22

Please sign in to comment.