mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00

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>
20 lines
488 B
Docker
20 lines
488 B
Docker
FROM manibase
|
|
|
|
RUN \
|
|
useradd -p locked -m mani && \
|
|
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 && \
|
|
mkdir .ccache && chown mani:mani .ccache && \
|
|
git clone https://review.coreboot.org/flashrom.git
|
|
|
|
ENV DEVSHELL /bin/bash
|
|
COPY mani-wrapper.sh /home/mani/
|
|
ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"]
|