mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
project/install.sh: install ca-certificates
This ensures that ca-certificates are installed and that they get updated in case they were already installed. Signed-off-by: Cristian Staretu <cristian.staretu@gmail.com>
This commit is contained in:
parent
01b46c21aa
commit
196a7216a3
1 changed files with 2 additions and 2 deletions
|
@ -151,11 +151,11 @@ case "$lsb_dist" in
|
|||
|
||||
if [ ! -e /usr/lib/apt/methods/https ]; then
|
||||
apt_get_update
|
||||
( set -x; $sh_c 'sleep 3; apt-get install -y -q apt-transport-https' )
|
||||
( set -x; $sh_c 'sleep 3; apt-get install -y -q apt-transport-https ca-certificates' )
|
||||
fi
|
||||
if [ -z "$curl" ]; then
|
||||
apt_get_update
|
||||
( set -x; $sh_c 'sleep 3; apt-get install -y -q curl' )
|
||||
( set -x; $sh_c 'sleep 3; apt-get install -y -q curl ca-certificates' )
|
||||
curl='curl -sSL'
|
||||
fi
|
||||
(
|
||||
|
|
Loading…
Reference in a new issue