From 34251b583e62152374cd3470006b713ca163daef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20W=C3=A4ckerlin?= Date: Wed, 17 Oct 2018 12:23:40 +0200 Subject: [PATCH] speed up builds, there is no need for upgrade before compile --- build-in-docker.sh | 2 +- scripts/build-in-docker.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-in-docker.sh b/build-in-docker.sh index d445ebf..583cf9f 100755 --- a/build-in-docker.sh +++ b/build-in-docker.sh @@ -275,7 +275,7 @@ case "$mode" in PREVENT='libpam-systemd policykit.* colord dconf-service' docker exec ${DOCKER_ID} apt-get update ${OPTIONS} docker exec ${DOCKER_ID} apt-mark hold ${PREVENT} - docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS} + #docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS} docker exec ${DOCKER_ID} apt-get install ${OPTIONS} ${PREVENT// /- }- python-software-properties software-properties-common apt-transport-https dpkg-dev lsb-release wget || \ docker exec ${DOCKER_ID} apt-get install ${OPTIONS} ${PREVENT// /- }- software-properties-common apt-transport-https dpkg-dev lsb-release wget || \ docker exec ${DOCKER_ID} apt-get install ${OPTIONS} ${PREVENT// /- }- python-software-properties apt-transport-https dpkg-dev lsb-release wget; diff --git a/scripts/build-in-docker.sh b/scripts/build-in-docker.sh index d445ebf..583cf9f 100755 --- a/scripts/build-in-docker.sh +++ b/scripts/build-in-docker.sh @@ -275,7 +275,7 @@ case "$mode" in PREVENT='libpam-systemd policykit.* colord dconf-service' docker exec ${DOCKER_ID} apt-get update ${OPTIONS} docker exec ${DOCKER_ID} apt-mark hold ${PREVENT} - docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS} + #docker exec ${DOCKER_ID} apt-get upgrade ${OPTIONS} docker exec ${DOCKER_ID} apt-get install ${OPTIONS} ${PREVENT// /- }- python-software-properties software-properties-common apt-transport-https dpkg-dev lsb-release wget || \ docker exec ${DOCKER_ID} apt-get install ${OPTIONS} ${PREVENT// /- }- software-properties-common apt-transport-https dpkg-dev lsb-release wget || \ docker exec ${DOCKER_ID} apt-get install ${OPTIONS} ${PREVENT// /- }- python-software-properties apt-transport-https dpkg-dev lsb-release wget;