Skip to content
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

Multiarch not working on arm64 #30

Open
ahuffman opened this issue Apr 15, 2020 · 1 comment
Open

Multiarch not working on arm64 #30

ahuffman opened this issue Apr 15, 2020 · 1 comment

Comments

@ahuffman
Copy link
Contributor

1.) Found that the csi containers from quay are not multi-arch, building my own so not a big deal at the moment.

2.) The jparklab/synology-csi:v1.0.0-kubernetes-1.18.0 from the k8s v1.18 deployment (node.yml) is only an amd64 build. You also have a jparklab/synology-csi:v1.18.0 tag that seems to have the multi-arch builds. I edited the daemonset to use the 1.18.0 tag, but also getting a standard_init_linux.go:211: exec user process caused "exec format error" on that image. It seems like something not quite right on the build in addition to the deployment having the incorrect tag for multi-arch use.

Let me know if I can help out in anyway on this, happy to assist with debugging/rebuilding etc.

@npawelek
Copy link

After removing the default ARG BUILDPLATFORM and ARG TARGETPLATFORM from the Dockerfile, this cleared up when using docker buildx.

# default values
ARG BUILDPLATFORM="linux/amd64"
ARG TARGETPLATFORM="linux/amd64"

I think the problem was that it wasn't compiling across all architectures when those were set. While each of those platforms were being pushed, they were incorrect.

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

No branches or pull requests

2 participants