mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00

Alpine Linux 3.7 and 3.8 fell behind with their pre-installed cer- tificates. Plus, there seems to be no way to override certificate checks when downloading packages. Hence, disable https completely. Change-Id: I49dc3a2a2d44f948182e7571f6289b74e6fa6eb4 Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/67186 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com> Reviewed-by: Felix Singer <felixsinger@posteo.net>
25 lines
630 B
Docker
25 lines
630 B
Docker
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"]
|