Commit 8177491
committed
The Certificate verification failed error occurred on Linux artifacts CI build because the base ubuntu:20.04 image lacks the CA certificates required to trust mirror.bazel.build during the initial apt-get update.
I have updated buildscripts/grpc-java-artifacts/Dockerfile.multiarch.base to skip peer verification for the mirror during the first update: Added -o Acquire::https::mirror.bazel.build::Verify-Peer=false. This allows apt to fetch the package lists even if it can't verify the certificate yet.1 parent 7830a94 commit 8177491
1 file changed
Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
| 4 | + | |
4 | 5 | | |
5 | 6 | | |
6 | 7 | | |
7 | | - | |
| 8 | + | |
8 | 9 | | |
9 | 10 | | |
10 | 11 | | |
| |||
0 commit comments