mirror of
https://review.coreboot.org/flashrom.git
synced 2025-07-01 06:01:16 +02:00
manibuilder/anita: Make disk and memory sizes configurable
Change-Id: I95e428a19b4c2042430d3147845397adb1c37e9b Signed-off-by: Nico Huber <nico.h@gmx.de> Reviewed-on: https://review.coreboot.org/c/flashrom/+/51479 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Angel Pons <th3fanbus@gmail.com>
This commit is contained in:
@ -2,6 +2,8 @@ FROM debian:stable
|
||||
|
||||
ARG PKG_PATH=http://cdn.netbsd.org/pub/pkgsrc/packages/NetBSD/amd64/7.1/All
|
||||
ARG INST_IMG=http://ftp.de.netbsd.org/pub/NetBSD/NetBSD-7.1/amd64/
|
||||
ARG DISK_SIZE=1G
|
||||
ARG MEM_SIZE=128M
|
||||
ARG EXTRA_PKG=""
|
||||
|
||||
RUN \
|
||||
@ -18,7 +20,8 @@ RUN \
|
||||
USER mani
|
||||
RUN cd && mkdir .ccache && chown mani:mani .ccache && \
|
||||
anita --sets kern-GENERIC,modules,base,etc,comp \
|
||||
--disk-size 1024M --memory-size=128M install ${INST_IMG} && \
|
||||
--disk-size ${DISK_SIZE} --memory-size=${MEM_SIZE} \
|
||||
install ${INST_IMG} && \
|
||||
rm -rf work-*/download
|
||||
|
||||
RUN cd && anita --persist --run \
|
||||
|
Reference in New Issue
Block a user