blob: 8a22fa89b9ee4ad7990ac1616d6e666bff5ecc3b [file] [log] [blame]
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
ARG ORIGIN=https://review.coreboot.org/flashrom-stable.git
RUN \
cd && \
mkdir .ccache && chown mani:mani .ccache && \
git clone ${ORIGIN} flashrom
ENV DEVSHELL /bin/bash
COPY mani-wrapper.sh /home/mani/
ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"]