Speed up package installation (especially on spinning disks)
This commit is contained in:
parent
b636a469a2
commit
18399c5561
|
|
@ -0,0 +1,14 @@
|
|||
#!/bin/sh -eu
|
||||
# tweak-dpkg-config -- for use in a Docker image
|
||||
# Copyright (C) 2017 Olaf Meeuwissen
|
||||
#
|
||||
# License: GPL-3.0+
|
||||
|
||||
cfg=/etc/dpkg/dpkg.cfg.d
|
||||
|
||||
cat > $cfg/docker-no-sync <<EOF
|
||||
force-unsafe-io
|
||||
EOF
|
||||
chmod 0644 $cfg/docker-no-sync
|
||||
|
||||
rm $0
|
||||
Loading…
Reference in New Issue