-
Notifications
You must be signed in to change notification settings - Fork 235
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
qemu-x86_64-static: can't COPY from qemu-user-static:x86_64-x86_64 image #105
Comments
@Bounz, AFAIK, all the resources provided by this project are for x86_64/amd64 hosts only. Hence, when you provide Should you want to generate images for hosts other than x86_64 (for example, execute regular docker containers on RPi), I suggest you to have a look at dbhi/qus. Unlike this repo, qus targets both multiple host architectures and multiple guest containers. See e.g. dbhi/qus#2 (comment).
I believe you want to set |
https://github.com/multiarch/qemu-user-static/releases/download/v5.0.0-2/qemu-x86_64-static exists. Why can't the file be in multiarch/qemu-user-static:x86_64-x86_64 to allow this pattern? |
I have checked multiarch/qemu-user-static:x86_64-x86_64 content and it's empty... I was looking for this file in docker image to have an uniform deployment for every architecture, even if it would lead to run x86 on x86 : what's the problem as it's working if I get the file from tarball? I just would prefer to get this file from image because it's simplier to deploy. Why do you prevent it? |
Is this a bug report, feature (enhancement) request or question? (leave only one on its own line)
/kind bug
Description:
I'm trying to create dockerfile for base image to be built by CI (drone) for multiple architectures. I want to have a single dockerfile so I'm using ARGs to pass arch value into dockerfile.
Steps to reproduce the issue:
test.dockerfile
docker build -f test.dockerfile --build-arg arch=amd64 --build-arg qemu=x86_64 -t test:amd64 .
Describe the results you received:
Describe the results you expected:
qemu-x86_64-static
is being copied to/usr/bin
If I run
docker build -f test.dockerfile --build-arg arch=arm32v7 --build-arg qemu=arm -t test:amd64 .
everything works fine.Environment:
Output of
docker version
,podman version
orsingularity version
Additional information optionally:
The text was updated successfully, but these errors were encountered: