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