mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 07:23:43 +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: 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>
19 lines
430 B
Docker
19 lines
430 B
Docker
FROM manibase
|
|
|
|
RUN \
|
|
useradd -p locked -m mani && \
|
|
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 && \
|
|
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"]
|