blob: 28389bd3238ea71fcafe0b7891fdf61ee8a426e3 [file] [log] [blame]
Nico Huberc0b52db2022-12-15 12:42:32 +00001FROM manibase
2
3RUN \
4 useradd -p locked -m mani && \
5 yum install -q -y ca-certificates git gcc systemd-devel \
6 pciutils-devel libusb-devel libusbx-devel && \
7 yum clean -q -y all
8
9ENV GIT_SSL_NO_VERIFY=1
10USER mani
11
12ARG ORIGIN=https://review.coreboot.org/flashrom-stable.git
13RUN \
14 cd && \
15 mkdir .ccache && chown mani:mani .ccache && \
16 git clone ${ORIGIN} flashrom
17
18ENV DEVSHELL /bin/bash
19COPY mani-wrapper.sh /home/mani/
20ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"]