You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I know I can use custom Docker images for this but creating and maintaining several (possibly 10+) images just to add a git binary seems very heavyweight and painful.
I would think that it'd be possible for cross to invoke apt-get in the image before it calls cargo (or xargo). I could look into implementing this if there's agreement that this is a thing that should be possible.
The text was updated successfully, but these errors were encountered:
autarch
changed the title
Add a feature to support installing packages in the Docker image when cross runs
Wishlist: Add a feature to support installing packages in the Docker image when cross runs
Aug 13, 2019
As using their images doesn't work for my dependencies either, I just forked the project, removed the Dockerfiles that I do not need and bumped them up to xenial which allowed me to install my library dependencies without any issues. I modified the images directly and published them under a new organisation for my project that mentions that the images are only used to cross compile my project.
Edit: I was trying to get it somehow working with Github Actions but I either do not really understand Github Actions and their filesystem interactions or it doesn't work as of now.
I have no clue on how to actually retrieve the compiled binary and upload it as an artifact within the same workflow. I thought that all steps share the same filesystem but it didn't really work for me.
I know I can use custom Docker images for this but creating and maintaining several (possibly 10+) images just to add a
git
binary seems very heavyweight and painful.I would think that it'd be possible for
cross
to invokeapt-get
in the image before it callscargo
(orxargo
). I could look into implementing this if there's agreement that this is a thing that should be possible.The text was updated successfully, but these errors were encountered: