mirror of
https://review.coreboot.org/flashrom.git
synced 2025-04-27 15:12:36 +02:00
manibuilder/alpine: Disable https for Alpine 3.7 and 3.8
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>
This commit is contained in:
parent
c582ed5bcd
commit
e9c63e2164
@ -1,7 +1,9 @@
|
||||
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
|
||||
|
@ -21,12 +21,15 @@ Dockerfile.$(call ident,$(1)): Dockerfile.$(call stem,$(1)) mani-wrapper.sh
|
||||
.INTERMEDIATE: Dockerfile.$(call ident,$(1))
|
||||
|
||||
$(1)-build: Dockerfile.$(call ident,$(1))
|
||||
$(QUIET_SETUP)docker build . -f $$< -t mani/$(1)
|
||||
$(QUIET_SETUP)docker build . -f $$< -t mani/$(1) $$(DOCKER_BUILD_ARGS)
|
||||
endef
|
||||
|
||||
$(foreach tag,$(MULTIARCH_TAGS), \
|
||||
$(eval $(call build_template,$(tag),multiarch)))
|
||||
|
||||
$(addsuffix -build,$(filter alpine%v3.7 alpine%v3.8,$(MULTIARCH_TAGS))): \
|
||||
DOCKER_BUILD_ARGS = --build-arg PROTO=http
|
||||
|
||||
djgpp\:6.1.0-build: %-build: Dockerfile.djgpp mani-wrapper.sh
|
||||
$(QUIET_SETUP)docker build . -f $< -t mani/$*
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user