mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
Include apparmor/docker only when it exists.
Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
parent
d7c2fe0f20
commit
408cffac94
1 changed files with 4 additions and 2 deletions
|
@ -73,8 +73,10 @@ bundle_ubuntu() {
|
|||
done
|
||||
|
||||
# Include contributed apparmor policy
|
||||
mkdir -p "$DIR/etc/apparmor.d/"
|
||||
cp contrib/apparmor/* "$DIR/etc/apparmor.d/"
|
||||
if [ -d contrib/apparmor ]; then
|
||||
mkdir -p "$DIR/etc/apparmor.d/"
|
||||
cp contrib/apparmor/* "$DIR/etc/apparmor.d/"
|
||||
fi
|
||||
|
||||
# Copy the binary
|
||||
# This will fail if the binary bundle hasn't been built
|
||||
|
|
Loading…
Reference in a new issue