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

RUN \
	useradd -p locked -m mani && \
	dnf install -q -y ca-certificates git gcc ccache make systemd-devel \
		pciutils-devel libusb-devel libusbx-devel libftdi-devel \
		libjaylink-devel && \
	dnf clean -q -y all

ENV GIT_SSL_NO_VERIFY=1
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"]