@@ -477,7 +477,7 @@ ensure_curl_dependency()
477
477
log_info ' Ensuring curl depencency.'
478
478
case " ${TARGET_OPERATING_SYSTEM} " in
479
479
alpine)
480
- sudo apk --quiet add curl
480
+ sudo apk --quiet add --no-cache curl
481
481
;;
482
482
debian | ubuntu)
483
483
sudo apt-get install -y curl > /dev/null
@@ -513,7 +513,7 @@ ensure_curl_dependency()
513
513
;;
514
514
* )
515
515
if command -v apk > /dev/null; then
516
- sudo apk --quiet add curl
516
+ sudo apk --quiet add --no-cache curl
517
517
elif command -v apt-get > /dev/null; then
518
518
sudo apt-get -qq install -y curl > /dev/null
519
519
elif command -v dnf > /dev/null; then
@@ -543,7 +543,7 @@ ensure_sudo_dependency()
543
543
log_info ' Ensuring sudo depencency.'
544
544
case " ${TARGET_OPERATING_SYSTEM} " in
545
545
alpine)
546
- apk --quiet add sudo
546
+ apk --quiet add --no-cache sudo
547
547
;;
548
548
debian | ubuntu)
549
549
apt-get install -y sudo > /dev/null
@@ -577,7 +577,7 @@ ensure_sudo_dependency()
577
577
;;
578
578
* )
579
579
if command -v apk > /dev/null; then
580
- apk --quiet add sudo
580
+ apk --quiet add --no-cache sudo
581
581
elif command -v apt-get > /dev/null; then
582
582
apt-get -qq install -y sudo > /dev/null
583
583
elif command -v dnf > /dev/null; then
@@ -605,7 +605,7 @@ ensure_xargs_dependency()
605
605
log_info ' Ensuring xargs depencency.'
606
606
case " ${TARGET_OPERATING_SYSTEM} " in
607
607
alpine)
608
- sudo apk --quiet add findutils
608
+ sudo apk --quiet add --no-cache findutils
609
609
;;
610
610
debian | ubuntu)
611
611
apt-get install -y findutils > /dev/null
@@ -638,7 +638,7 @@ ensure_xargs_dependency()
638
638
;;
639
639
* )
640
640
if command -v apk > /dev/null; then
641
- sudo apk --quiet add findutils
641
+ sudo apk --quiet add --no-cache findutils
642
642
elif command -v apt-get > /dev/null; then
643
643
apt-get -qq install -y findutils > /dev/null
644
644
elif command -v dnf > /dev/null; then
@@ -793,7 +793,7 @@ install_build_dependencies_apk()
793
793
dependencies=$( torsocks curl --fail --silent --show-error --location --retry 2 " ${BUILD_DEPENDENCIES_URL} " ) ||
794
794
dependencies=$( curl --fail --silent --show-error --location --retry 5 " ${BUILD_DEPENDENCIES_URL} " )
795
795
[ -z " ${dependencies:- } " ] && throw_error " The list of dependencies is empty."
796
- printf ' %s\n' " ${dependencies} " | xargs apk --quiet add |
796
+ printf ' %s\n' " ${dependencies} " | xargs apk --quiet add --no-cache |
797
797
grep -v ' ICU with non-English locales' -A2 -B1 || true
798
798
}
799
799
@@ -1028,7 +1028,7 @@ install_runtime_dependencies_apk()
1028
1028
dependencies=$( torsocks curl --fail --silent --show-error --location --retry 2 " ${RUNTIME_DEPENDENCIES_URL} " ) ||
1029
1029
dependencies=$( curl --fail --silent --show-error --location --retry 5 " ${RUNTIME_DEPENDENCIES_URL} " )
1030
1030
[ -z " ${dependencies:- } " ] && throw_error ' The list of dependencies is empty.'
1031
- printf ' %s\n' " ${dependencies} " | xargs sudo apk --quiet add
1031
+ printf ' %s\n' " ${dependencies} " | xargs sudo apk --quiet add --no-cache
1032
1032
}
1033
1033
1034
1034
install_runtime_dependencies_aptget ()
0 commit comments