Commit graph

9 commits

Author SHA1 Message Date
fengalin 5f8fa86cce Docker: align APT key retrieval with Cookbook README
Use the same command as the Cookbook README for Redox OS APT key retrieval.
Keep adding the Redox OS repository in a dedicated file. This allows updating it specifically without updating the other repositories one more time.
2017-08-16 15:29:32 +02:00
fengalin c323f81b8c Update docker container build script and README
- Use https for redox apt repository
- Import the repository's key
- Update [toolchain packages' names](https://github.com/redox-os/cookbook/pull/59)
- Install `wget` which is needed by [coobook/recipes/xz](https://github.com/redox-os/cookbook/blob/master/recipes/xz/recipe.sh)
- Update README file to reflect the [discussion about when the submodules are needed](https://github.com/redox-os/redox/pull/1005#discussion_r129432929)
- Update README file to suggest using `make fetch all` in place of `make update all` since `Cargo.lock` files come with the sources now. See this [comment](https://github.com/redox-os/redox/issues/1021#issuecomment-320946322)

Note: current source tree generation requires runing the docker container with `bash -c RUSTFLAGS=\"-A unused_mut\" make fetch all` in place of `make fetch all`
2017-08-12 15:29:27 +02:00
fengalin 95915513ee Build docker container with ready to use user env
Prepare user environment at build time and update user and group id at runtime if necessary.
Update submodule sync step to avoid a dependency on cargo
Run `make update all` instead of just `make all`. The target `update` didn't update the container environment since it was executed on the host.
2017-07-26 00:18:27 +02:00
fengalin ff30f86664 Add a mention for selinux systems in Docker README
Selinux blocks the following:
- gosu execution labeling (no selinux policy).
- permission is denied to the container's user on the tree source binding
under /src. Using a different location doesn't solve the issue.

The workaround consists in disabling selinux labeling when running the container.
2017-07-24 00:29:33 +02:00
Agoston Szepessy dbaa2f370e Add dependencies to Dockerfile to build Redox 2017-07-22 19:56:20 -04:00
Jeremy Soller cbd126aa5c Update README.md 2017-06-25 20:21:19 -06:00
Jeremy Soller 1efa0c9c37 Update README.md 2017-06-25 20:20:54 -06:00
Egor Karavaev 84fdf1fd8f Add README.md on how to build Redox using docker images. 2017-06-24 16:40:55 +03:00
Egor Karavaev 93c8b92b75 Add Dockerfile for build system. 2017-06-21 10:32:40 +03:00