Skip to content

Build: use multi-stage to support new version and multi platform - #217

Open
ChaimHong wants to merge 1 commit into
sgerrand:mainfrom
ChaimHong:main
Open

Build: use multi-stage to support new version and multi platform #217
ChaimHong wants to merge 1 commit into
sgerrand:mainfrom
ChaimHong:main

Conversation

@ChaimHong

Copy link
Copy Markdown

support #216

@ChaimHong
ChaimHong marked this pull request as draft December 27, 2024 13:17
@ChaimHong
ChaimHong marked this pull request as ready for review December 27, 2024 13:18
@fengzhao

Copy link
Copy Markdown

Dockerfile 中的 TARGETARCH 能不能修复一下,加一行类似这种。

RUN TARGETARCH=$(uname -m)

@ChaimHong

Copy link
Copy Markdown
Author

Dockerfile 中的 TARGETARCH 能不能修复一下,加一行类似这种。

RUN TARGETARCH=$(uname -m)

TARGETARCH 不需要指定,不一样的 --platform 会对应不一样的值 @fengzhao
https://www.docker.com/blog/faster-multi-platform-builds-dockerfile-cross-compilation-guide/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants