mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-28 07:23:43 +02:00

Most of the images built out of the box. Only `alpine:armhf-v3.11` needs a little workaround for wrong filesystem permissions. Change-Id: Iac5fea993e6345c7507bd381550f3fbfe55341f9 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/66995 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
23 lines
559 B
Docker
23 lines
559 B
Docker
FROM manibase
|
|
|
|
RUN \
|
|
adduser -D mani mani && \
|
|
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"]
|