summaryrefslogtreecommitdiffstats
path: root/util/manibuilder
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-08-23 18:46:02 +0200
committerFelix Singer <felixsinger@posteo.net>2022-09-27 13:49:38 +0000
commitd5f6f24a2bd0c46ec1121a27e8ee6415a7b465a8 (patch)
tree32f1f2e5d06ec3e943bf7e563bdbd54ea8bd35d2 /util/manibuilder
parent7bb55f1c363f3f593b92bf2e946ed41bf13926e1 (diff)
downloadflashrom-d5f6f24a2bd0c46ec1121a27e8ee6415a7b465a8.tar.gz
flashrom-d5f6f24a2bd0c46ec1121a27e8ee6415a7b465a8.tar.bz2
flashrom-d5f6f24a2bd0c46ec1121a27e8ee6415a7b465a8.zip
manibuilder/alpine: Disable TLS verification for Git commands
Pull the `ca-certificates` package but also disable certificate verification for Git commands, including those that run during tests. At some point, the `ca-certificates` won't get updates anymore and, ideally, existing docker images will keep working. Change-Id: I38c2404c50c97f3ae38fad602f587ce25719a6f3 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66984 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'util/manibuilder')
-rw-r--r--util/manibuilder/Dockerfile.alpine3
1 files changed, 2 insertions, 1 deletions
diff --git a/util/manibuilder/Dockerfile.alpine b/util/manibuilder/Dockerfile.alpine
index 63d4ba38a..35d787af6 100644
--- a/util/manibuilder/Dockerfile.alpine
+++ b/util/manibuilder/Dockerfile.alpine
@@ -3,9 +3,10 @@ FROM manibase
RUN \
adduser -D mani mani && \
apk update && \
- apk add build-base linux-headers git ccache \
+ apk add ca-certificates build-base linux-headers git ccache \
pciutils-dev libusb-compat-dev libusb-dev
+ENV GIT_SSL_NO_VERIFY=1
USER mani
RUN \
cd && \