Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
In debian, when build docker images, error message as blows: root@2288hv5-2s44p-384g--b5 /c/compass-ci/container/dnsmasq# ./build Sending build context to Docker daemon 12.29kB Step 1/6 : FROM alpine:3.11 Get "https://registry-1.docker.io/v2/": x509: certificate signed by unknown authority The old code just support openEuler and centos, not support debian, so call docker_ca_certificate() to trust the certificate according to different OS. Refer: https://docs.docker.com/registry/insecure/ Signed-off-by: Wang Chongyang <[email protected]>
- Loading branch information