1
0
mirror of /repos/baseimage-docker.git synced 2025-12-30 08:01:31 +01:00

Do not set APT's force-unsafe-io option because the latest ubuntu image already does that

This commit is contained in:
Hongli Lai (Phusion) 2015-01-17 14:32:41 +01:00
parent 19c2df66b3
commit 8f2877c806
No known key found for this signature in database
GPG Key ID: 2AF96EB85EF4DA0D

View File

@ -4,7 +4,9 @@ source /build/buildconfig
set -x set -x
## Temporarily disable dpkg fsync to make building faster. ## Temporarily disable dpkg fsync to make building faster.
echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/02apt-speedup if [[ ! -e /etc/dpkg/dpkg.cfg.d/docker-apt-speedup ]]; then
echo force-unsafe-io > /etc/dpkg/dpkg.cfg.d/docker-apt-speedup
fi
## Prevent initramfs updates from trying to run grub and lilo. ## Prevent initramfs updates from trying to run grub and lilo.
## https://journal.paul.querna.org/articles/2013/10/15/docker-ubuntu-on-rackspace/ ## https://journal.paul.querna.org/articles/2013/10/15/docker-ubuntu-on-rackspace/