Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Docker image: problems with permissions on OS X #10
First I want to say that I tried many different ways to cross-compile Rust code to RasPi 3B and this one seems to be the most promising so far.
I'm on OS X 10.11.3, Docker 1.10.2, Rust 1.7.0. I have successfully built the Docker image, but I ran into some permission problems as I tried to cross-compile my project.
If I run
If I run
I looked for ways to solve it on Docker level, but none of them helped (like adding
Pinging @schnupperboy, as from the issue tracker I see he's the one who added Docker support, so maybe he knows something that I don't.
I just ran into "Web Development with Docker on Mac OS X":
added a commit
Mar 7, 2016
@ravicious Thanks for investigating this issue and glad to hear that it works now. I added a comment to your PR.
@Ogeon I will have a look later this week on how to set up a Travis test for the Docker build with a Linux host OS. Also, I will open a new issue for this.
But i'm afraid that there is no way you can set up a Travis test with a OS X host environment since Docker requires running a Linux virtual machine as a workaround on OS X. AFAIK Travis CI simply does not support this.
That would be fantastic. I'm just afraid that the build process may be too long for Travis. It's still worth a try, so I'll go ahead and enable Travis for this repo (edit: done).
Looks like that's the case, unfortunately. Still, it's better to have any tests, than none.
@schnupperboy Cool, I updated the PR!
The process was pretty straightforward and I didn't have to do anything special other than installing the Docker Toolbox and following its "Getting started" guide.