blob: 674b5451294a5110ab38dcb2df066f901239083c (
plain)
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"]
|