summaryrefslogtreecommitdiffstats
path: root/util/manibuilder/Dockerfile.centos
blob: fcae9c8f7bff88696c57b39489ac50ef249e962e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
FROM manibase

RUN \
	useradd -p locked -m mani && \
	yum install -q -y git gcc pciutils-devel libusb-devel libusbx-devel && \
	yum clean -q -y all

USER mani
RUN \
	cd && \
	mkdir .ccache && chown mani:mani .ccache && \
	git clone https://review.coreboot.org/flashrom.git

ENV DEVSHELL /bin/bash
COPY mani-wrapper.sh /home/mani/
ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"]