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

RUN \
	adduser -D mani mani && \
	apk update && \
	apk add build-base linux-headers git ccache \
		pciutils-dev libusb-compat-dev libusb-dev

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

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