From 0202359871b36194292ce6f644b7534918772f18 Mon Sep 17 00:00:00 2001 From: sickcodes Date: Tue, 30 Nov 2021 20:32:09 +0000 Subject: [PATCH] Revert normal Dockerfile to have a picker. Massively increase build speed. 4G RAM minimum --- Dockerfile | 4 +++- Dockerfile.naked | 6 ++++-- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index 9dc014c..1a4e15e 100644 --- a/Dockerfile +++ b/Dockerfile @@ -61,6 +61,8 @@ ARG SIZE=200G # OPTIONAL: Arch Linux server mirrors for super fast builds # set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true + +RUN perl -i -p -e s/^\#Color/Color$'\n'ParallelDownloads\ =\ 30/g /etc/pacman.conf ARG RANKMIRRORS ARG MIRROR_COUNTRY=US ARG MIRROR_COUNT=10 @@ -321,7 +323,7 @@ ENV IMAGE_FORMAT=qcow2 ENV KVM='accel=kvm:tcg' -ENV MASTER_PLIST_URL="https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist" +ENV MASTER_PLIST_URL="https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist" # ENV NETWORKING=e1000-82545em ENV NETWORKING=vmxnet3 diff --git a/Dockerfile.naked b/Dockerfile.naked index 3a10efc..ec7a5db 100644 --- a/Dockerfile.naked +++ b/Dockerfile.naked @@ -40,6 +40,7 @@ ARG SIZE=200G # OPTIONAL: Arch Linux server mirrors for super fast builds # set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true +RUN perl -i -p -e s/^\#Color/Color$'\n'ParallelDownloads\ =\ 30/g /etc/pacman.conf ARG RANKMIRRORS ARG MIRROR_COUNTRY=US ARG MIRROR_COUNT=10 @@ -334,10 +335,11 @@ ENV KVM='accel=kvm:tcg' # ENV NETWORKING=e1000-82545em ENV NETWORKING=vmxnet3 -ENV NOPICKER=true +# boolean for skipping the disk selection menu at in the boot process +ENV NOPICKER=false # dynamic RAM options for runtime -ENV RAM=3 +ENV RAM=4 # ENV RAM=max # ENV RAM=half