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

apt-get command don't work from docker image #763

Closed
4 of 11 tasks
buxx opened this issue Jun 7, 2022 · 3 comments
Closed
4 of 11 tasks

apt-get command don't work from docker image #763

buxx opened this issue Jun 7, 2022 · 3 comments

Comments

@buxx
Copy link

buxx commented Jun 7, 2022

Checklist

Describe your issue

By taking the README example and building docker image from existing cross-rs/cross images, apt-get is not available.

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?

  • macOS
  • Windows
  • Linux / BSD
  • other OS (specify in description)

What architecture is the host?

  • x86_64 / AMD64
  • arm32
  • arm64 (including Mac M1)

What container engine is cross using?

  • docker
  • podman
  • other container engine (specify in description)

cross version

cross 0.2.1

Example

FROM ghcr.io/cross-rs/x86_64-unknown-linux-gnu:main

RUN apt-get update

Which produce :

/bin/sh: apt-get: command not found

Additional information / notes

No response

@Emilgardis
Copy link
Member

this is #680 and #669

We've switched to CentOS in the x86_64-unknown-linux-gnu image. Use yum update

@Emilgardis
Copy link
Member

ping #761 this is the exact problem we should avoid, causes confusion.

@buxx
Copy link
Author

buxx commented Jun 7, 2022

Okay, Thanks for the note !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants