blob: 87eabc445943a0d5470649e93309256cdeefac23 [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 && \
Nico Huberb115c982023-03-02 23:10:05 +00007 apt-get -qqy install gcc make git doxygen ccache pkg-config meson \
Nico Hubere59061a2023-03-02 23:08:09 +00008 libpci-dev libftdi1-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"]