Skip to content

Commit 0202359

Browse files
committed
Revert normal Dockerfile to have a picker. Massively increase build speed. 4G RAM minimum
1 parent a04466a commit 0202359

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

Dockerfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,8 @@ ARG SIZE=200G
6161

6262
# OPTIONAL: Arch Linux server mirrors for super fast builds
6363
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true
64+
65+
RUN perl -i -p -e s/^\#Color/Color$'\n'ParallelDownloads\ =\ 30/g /etc/pacman.conf
6466
ARG RANKMIRRORS
6567
ARG MIRROR_COUNTRY=US
6668
ARG MIRROR_COUNT=10
@@ -321,7 +323,7 @@ ENV IMAGE_FORMAT=qcow2
321323
322324
ENV KVM='accel=kvm:tcg'
323325
324-
ENV MASTER_PLIST_URL="https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-nopicker-custom.plist"
326+
ENV MASTER_PLIST_URL="https://raw.githubusercontent.com/sickcodes/osx-serial-generator/master/config-custom.plist"
325327
326328
# ENV NETWORKING=e1000-82545em
327329
ENV NETWORKING=vmxnet3

Dockerfile.naked

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ ARG SIZE=200G
4040

4141
# OPTIONAL: Arch Linux server mirrors for super fast builds
4242
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true
43+
RUN perl -i -p -e s/^\#Color/Color$'\n'ParallelDownloads\ =\ 30/g /etc/pacman.conf
4344
ARG RANKMIRRORS
4445
ARG MIRROR_COUNTRY=US
4546
ARG MIRROR_COUNT=10
@@ -334,10 +335,11 @@ ENV KVM='accel=kvm:tcg'
334335
# ENV NETWORKING=e1000-82545em
335336
ENV NETWORKING=vmxnet3
336337

337-
ENV NOPICKER=true
338+
# boolean for skipping the disk selection menu at in the boot process
339+
ENV NOPICKER=false
338340

339341
# dynamic RAM options for runtime
340-
ENV RAM=3
342+
ENV RAM=4
341343
# ENV RAM=max
342344
# ENV RAM=half
343345

0 commit comments

Comments
 (0)