blob: 3f5f0cb920bd3683099ec815a1ce66051e74c2b3 [file] [log] [blame]
Nico Huberc0b52db2022-12-15 12:42:32 +00001FROM manibase
2
3RUN \
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 && \
Steve Markgraf61899472023-01-09 23:06:52 +01009 { apt-get -qqy install libjaylink-dev libgpiod-dev || true; } && \
Nico Huberc0b52db2022-12-15 12:42:32 +000010 apt-get clean
11
12ENV GIT_SSL_NO_VERIFY=1
13USER mani
14
15ARG ORIGIN=https://review.coreboot.org/flashrom-stable.git
16RUN \
17 cd && \
18 mkdir .ccache && chown mani:mani .ccache && \
19 git clone ${ORIGIN} flashrom
20
21ENV DEVSHELL /bin/bash
22COPY mani-wrapper.sh /home/mani/
23ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"]