mirror of
https://github.com/moby/moby.git
synced 2026-07-07 07:07:26 +00:00
RH now provides `container-selinux` which provides everything we need for docker's selinux policy. Rely on `container-selinux` where available, and `docker-engine-selinux` when not. This still builds the `docker-engine-selinux` package and presumably makes it available, but is no longer a requirement in the `docker-engine` package preferring `container-selinux` instead. `container-selinux` is available on fedora24, however the version that is available does not set the correct types on the `dockerd` binary. We can use `container-selinux` and just supplement that with some of our own policy, but for now just keep using `docker-engine-selinux` as is. Signed-off-by: Brian Goff <cpuguy83@gmail.com>
This directory holds scripts called by make.sh in the parent directory.
Each script is named after the bundle it creates. They should not be called directly - instead, pass it as argument to make.sh, for example:
./hack/make.sh test
./hack/make.sh binary ubuntu
# Or to run all bundles:
./hack/make.sh
To add a bundle:
- Create a shell-compatible file here
- Add it to $DEFAULT_BUNDLES in make.sh