Felix Singer submitted this change.
manibuilder/fedora: 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: Iaac1defd2dc640a9cf9c317d3b13ded5743390df
Signed-off-by: Nico Huber <nico.h@gmx.de>
Reviewed-on: https://review.coreboot.org/c/flashrom/+/66988
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Felix Singer <felixsinger@posteo.net>
---
M util/manibuilder/Dockerfile.fedora
1 file changed, 21 insertions(+), 1 deletion(-)
diff --git a/util/manibuilder/Dockerfile.fedora b/util/manibuilder/Dockerfile.fedora
index fa2ff2f..79a939a 100644
--- a/util/manibuilder/Dockerfile.fedora
+++ b/util/manibuilder/Dockerfile.fedora
@@ -2,11 +2,12 @@
RUN \
useradd -p locked -m mani && \
- dnf install -q -y git gcc ccache make systemd-devel \
+ dnf install -q -y ca-certificates git gcc ccache make systemd-devel \
pciutils-devel libusb-devel libusbx-devel libftdi-devel \
libjaylink-devel && \
dnf clean -q -y all
+ENV GIT_SSL_NO_VERIFY=1
USER mani
RUN \
cd && \
To view, visit change 66988. To unsubscribe, or for help writing mail filters, visit settings.