-
Notifications
You must be signed in to change notification settings - Fork 459
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
Fix docker multiarch build for operator #882
Conversation
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
@@ -17,7 +17,6 @@ COPY internal/ internal/ | |||
COPY pkg/ pkg/ | |||
COPY versions.txt versions.txt | |||
|
|||
ARG TARGETARCH=amd64 |
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.
ARG TARGETARCH=amd64 | |
ARG TARGETARCH |
would it make sense to remove =amd64
?
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.
Then we would have to pass the arch as argument which should not be necessary
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.
But without we are not able to build it for a different target architecture, right?
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.
we are via docker buildx
Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
* Fix docker multiarch build for operator Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix docker multiarch build for operator Signed-off-by: Pavol Loffay <p.loffay@gmail.com> * Fix multiarch build for TA Signed-off-by: Pavol Loffay <p.loffay@gmail.com>
Signed-off-by: Pavol Loffay p.loffay@gmail.com
Resolves #874