-
Notifications
You must be signed in to change notification settings - Fork 376
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
apt-get not work in dockerfile #1552
Comments
I'm not sure what these screenshots are supposed to show. Where is the installation logs? Why is |
Sorry, my picture is not particularly accurate. The underline is to show that |
the image built with |
Oh, it seems that he parsed Dockerfile.native instead of "Dockerfile.x86_64-unknown-linux-gnu" |
Yes, that is not a problem, it's supposed to be that way. I'm not sure what this issue is about anymore, can we close it? |
Now I understand the usage, but loading Dockerfile.native is a little uncomfortable when I build image for "x86_64-unknown-linux-gnu" locally. Thanks, we can close it. |
To explain a bit, the reason .native is used is because we want to support using the images for other platforms. On x86_64-unknown-linux-gnu we cant install |
Checklist
Describe your issue
I tried to build the docker image locally, I used apt to download
g++-x86-64-linux-gnu
andprotobuf-compiler
etc. But these don't seem to take effect. Can I only define them in pre-build or .sh?cargo build image:
the content in Dockerfile
But apt cannot find it
What target(s) are you cross-compiling for?
x86_64-unknown-linux-gnu
Which operating system is the host (e.g computer cross is on) running?
What architecture is the host?
What container engine is cross using?
cross version
cross 0.2.5 (d8631fe 2024-08-17)
Example
No response
Additional information / notes
No response
The text was updated successfully, but these errors were encountered: