aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-11-30 20:32:09 +0000
committersickcodes <[email protected]>2021-11-30 20:32:09 +0000
commit0202359871b36194292ce6f644b7534918772f18 (patch)
tree31150ff8d3fbe0e541c45ae8685683371dbffbbd
parentAdd default BASESYSTEM_FORMAT variables (diff)
downloaddocker-osx-0202359871b36194292ce6f644b7534918772f18.tar.xz
docker-osx-0202359871b36194292ce6f644b7534918772f18.zip
Revert normal Dockerfile to have a picker. Massively increase build speed. 4G RAM minimum
-rw-r--r--Dockerfile4
-rw-r--r--Dockerfile.naked6
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