docker-ce: Added Docker community edition

Signed-off-by: Gerard Ryan <G.M0N3Y.2503@gmail.com>
This commit is contained in:
Gerard Ryan
2018-10-14 13:18:43 +10:00
committed by Yousong Zhou
parent e6edb0b442
commit f2793d55fe
4 changed files with 215 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
Index: docker-ce-18.09.0/components/engine/hack/make.sh
===================================================================
--- docker-ce-18.09.0.orig/components/engine/hack/make.sh
+++ docker-ce-18.09.0/components/engine/hack/make.sh
@@ -129,7 +129,7 @@ fi
# with a newer libdevmapper than the one it was built with.
if \
command -v gcc &> /dev/null \
- && ! ( echo -e '#include <libdevmapper.h>\nint main() { dm_task_deferred_remove(NULL); }'| gcc -xc - -o /dev/null $(pkg-config --libs devmapper) &> /dev/null ) \
+ && ! ( echo -e '#include <libdevmapper.h>\nint main() { dm_task_deferred_remove(NULL); }'| gcc -xc - -o /dev/null $(pkg-config --libs libdevmapper) &> /dev/null ) \
; then
add_buildtag libdm dlsym_deferred_remove
fi