summaryrefslogtreecommitdiffstats
path: root/util/manibuilder
diff options
context:
space:
mode:
authorNico Huber <nico.h@gmx.de>2022-08-23 18:39:07 +0200
committerFelix Singer <felixsinger@posteo.net>2022-09-27 13:49:25 +0000
commit94e7f072c05361d8489f5304b5ed7aaf66986dd2 (patch)
tree9e46bd36e4483689d62683d5d02907354faab8e1 /util/manibuilder
parent4b503bee39e8761d7c4ff910562448c488da2b7e (diff)
downloadflashrom-94e7f072c05361d8489f5304b5ed7aaf66986dd2.tar.gz
flashrom-94e7f072c05361d8489f5304b5ed7aaf66986dd2.tar.bz2
flashrom-94e7f072c05361d8489f5304b5ed7aaf66986dd2.zip
manibuilder/centos: 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: I6bc2a85c67b84e89656fe5d7191d354c2f97ff05 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66982 Reviewed-by: Angel Pons <th3fanbus@gmail.com> Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Felix Singer <felixsinger@posteo.net>
Diffstat (limited to 'util/manibuilder')
-rw-r--r--util/manibuilder/Dockerfile.centos4
1 files changed, 3 insertions, 1 deletions
diff --git a/util/manibuilder/Dockerfile.centos b/util/manibuilder/Dockerfile.centos
index fcae9c8f7..16ea92143 100644
--- a/util/manibuilder/Dockerfile.centos
+++ b/util/manibuilder/Dockerfile.centos
@@ -2,9 +2,11 @@ FROM manibase
RUN \
useradd -p locked -m mani && \
- yum install -q -y git gcc pciutils-devel libusb-devel libusbx-devel && \
+ yum install -q -y ca-certificates git gcc \
+ pciutils-devel libusb-devel libusbx-devel && \
yum clean -q -y all
+ENV GIT_SSL_NO_VERIFY=1
USER mani
RUN \
cd && \