add apt options

This commit is contained in:
Kay0u 2020-05-18 17:59:31 +02:00
parent a520ef69ac
commit 2ba6d04079
No known key found for this signature in database
GPG key ID: AAFEEB16CFA2AE2D

View file

@ -167,7 +167,7 @@ if ! id avahi > /dev/null 2>&1; then
fi"
# Pre install dependencies
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "apt-get install --assume-yes $YNH_DEPENDENCIES $BUILD_DEPENDENCIES"
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "DEBIAN_FRONTEND=noninteractive SUDO_FORCE_REMOVE=yes apt-get --assume-yes -o Dpkg::Options::=\"--force-confold\" install --assume-yes $YNH_DEPENDENCIES $BUILD_DEPENDENCIES"
lxc exec "$base_image_to_rebuild-tmp" -- /bin/bash -c "pip install -U pip pytest pytest-sugar pytest-mock requests-mock mock"