File: Dockerfile.alpine

package info (click to toggle)
flashrom 1.6.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 9,268 kB
  • sloc: ansic: 67,220; sh: 1,118; python: 104; makefile: 97
file content (24 lines) | stat: -rw-r--r-- 630 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
FROM manibase

ARG PROTO=https
RUN \
	adduser -D mani mani && \
	sed -i "s/https/${PROTO}/" /etc/apk/repositories && \
	apk update && \
	apk add ca-certificates build-base linux-headers git ccache \
		pciutils-dev libusb-compat-dev libusb-dev

# fix weird permissions in armhf-v3.11
RUN [ -d /usr/share/git-core/templates ] && \
	chmod -R a+r /usr/share/git-core/templates

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/sh
COPY mani-wrapper.sh /home/mani/
ENTRYPOINT ["/bin/sh", "/home/mani/mani-wrapper.sh"]