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 \ |
| 8 | libpci-dev libusb-dev libftdi-dev libusb-1.0-0-dev && \ |
| 9 | { apt-get -qqy install libjaylink-dev || true; } && \ |
| 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"] |