[PLDWWW] page changed: packages:lxc-docker
"Elan Ruusamäe (glen)"
glen at pld-linux.org
Wed Aug 28 21:56:33 CEST 2013
[PLD Base image]
--- https://www.pld-linux.org/packages/lxc-docker?rev=1377719001
+++ https://www.pld-linux.org/packages/lxc-docker
@@ -84,11 +84,20 @@
# build
rpm -r $ROOTFS --initdb
poldek -r $ROOTFS --up -u bash iproute2 coreutils
+
+ # cleanups
+ PKGS="cracklib-dicts ca-certificates"
+ for pkg in $PKGS; do
+ rpm -r $ROOTFS -q $pkg && rpm -r $ROOTFS -e $pkg --nodeps
+ done
# and import
tar -C $ROOTFS -cf- . | docker import - $IMAGE
+
+ # and test
+ docker run -i -u root $IMAGE /bin/echo Success.
</code>
<file>
# sh -x /vagrant/mkimage-pld.sh
Diff URL:
https://www.pld-linux.org/packages/lxc-docker?do=diff&r1=1377719001&r2=1377719793
--
This mail was generated by DokuWiki at
https://www.pld-linux.org/
More information about the pld-cvs-commit
mailing list