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 | apt-get -qq update && \ |
| 6 | apt-get -qq upgrade && \ |
| 7 | apt-get -qqy install gcc make git doxygen ccache pkg-config \ |
Nico Huber | e59061a | 2023-03-02 23:08:09 +0000 | [diff] [blame^] | 8 | libpci-dev libftdi1-dev libusb-1.0-0-dev && \ |
Steve Markgraf | 6189947 | 2023-01-09 23:06:52 +0100 | [diff] [blame] | 9 | { apt-get -qqy install libjaylink-dev libgpiod-dev || true; } && \ |
Nico Huber | c0b52db | 2022-12-15 12:42:32 +0000 | [diff] [blame] | 10 | apt-get clean |
| 11 | |
| 12 | ENV GIT_SSL_NO_VERIFY=1 |
| 13 | USER mani |
| 14 | |
| 15 | ARG ORIGIN=https://review.coreboot.org/flashrom-stable.git |
| 16 | RUN \ |
| 17 | cd && \ |
| 18 | mkdir .ccache && chown mani:mani .ccache && \ |
| 19 | git clone ${ORIGIN} flashrom |
| 20 | |
| 21 | ENV DEVSHELL /bin/bash |
| 22 | COPY mani-wrapper.sh /home/mani/ |
| 23 | ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"] |