custom CAs also in alpine
This commit is contained in:
parent
b8deb8ae82
commit
ea2b009b3d
2 changed files with 4 additions and 3 deletions
|
|
@ -62,8 +62,6 @@ EOF
|
|||
|
||||
#######################################
|
||||
function setup_ubuntu () {
|
||||
update-ca-certificates
|
||||
|
||||
id ${USER} > /dev/null
|
||||
# Check the existence of the user, if not exist, create it.
|
||||
if [ $? -eq 1 ]; then
|
||||
|
|
@ -131,6 +129,9 @@ else
|
|||
exit 1
|
||||
fi
|
||||
|
||||
# Add user CAs to OS trusted CA store (does not affect webpki)
|
||||
update-ca-certificates
|
||||
|
||||
# Check the given user and its uid:gid
|
||||
if [ $(id -u ${USER}) -ne ${USER_ID} -a $(id -g ${USER}) -ne ${GROUP_ID} ]; then
|
||||
echo "${USER} exists or was previously created. However, its uid and gid are inconsistent. Please recreate your container."
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue