-
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
Make image-user test images multi-arch #300
Conversation
images/image-user/Makefile
Outdated
.PHONY: all test-image-user-uid test-image-user-username test-image-user-uid-group test-image-user-username-group push-manifest | ||
|
||
REGISTRY = gcr.io/cri-tools | ||
ALL_ARCH = amd64 ppc64le |
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.
Add all arches that kubernetes has already supported? e.g. amd64 arm arm64 ppc64le s390x
@@ -12,6 +12,7 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
FROM busybox | |||
ARG ARCH | |||
FROM $ARCH/busybox |
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.
seems there are no arm/busybox
and arm64/busybox
images?
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.
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.
yes we have to use arm32v7
and arm64v8
but these does not match the architecture value what you get via go env
images/image-user/Makefile
Outdated
@@ -12,22 +12,34 @@ | |||
# See the License for the specific language governing permissions and | |||
# limitations under the License. | |||
|
|||
include ../../hack/make-rules/Makefile.manifest | |||
include ../../hack/make-rules/Baseimage |
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.
s/Baseimage/BASEIMAGES
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.
@feiskyer : Thnx! Fixed.
Fixes #287 Signed-off-by: Nitesh Konkar <[email protected]>
thanks /lgtm |
@Random-Liu Could you build and push those new images? |
I got this:
And we should add |
It depends on the |
@Random-Liu : I have addressed your comment in the following PR |
I did |
Hi @Random-Liu, Did you get a chance to build and push these images again. |
Fixes #287
This fixes Issue 287 partially. Here "docker push" is used instead of
"gcloud docker -- push" as its depreciated now. Reference
Signed-off-by: Nitesh Konkar [email protected]