-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
peerpod-ctrl: fix Make command docker-buildx #1649
Conversation
Command docker-buildx cannot work Signed-off-by: Lei Li <genjuro214@gmail.com> Signed-off-by: Lei Li <cdlleili@cn.ibm.com>
I run on ubuntu 20.04 amd64 vsi, meet follow issue:
|
The latter error seems like unrelated issue no? you get it only with this PR? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I created a new amd64 ubutu22.04 8x32 vsi, try to make docker-buildx
, it works now.
thanks @genjuro214
Yeah, it seems that the env or network issue, not related this PR. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
When I tried to build peerpod-ctrl image locally with command
make docker-buildx
, it failed:So I tried to fix it:
--platform=$TARGETPLATFORM
has been set in Dockerfile, so we don't need to insert--platform=${BUILDPLATFORM}
for cross-platform support.
as the latest argument