Revert normal Dockerfile to have a picker. Massively increase build speed. 4G RAM minimum

pull/397/head
sickcodes 3 years ago
parent a04466a704
commit 0202359871

@ -61,6 +61,8 @@ ARG SIZE=200G
# OPTIONAL: Arch Linux server mirrors for super fast builds # OPTIONAL: Arch Linux server mirrors for super fast builds
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true # 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 RANKMIRRORS
ARG MIRROR_COUNTRY=US ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10 ARG MIRROR_COUNT=10
@ -321,7 +323,7 @@ ENV IMAGE_FORMAT=qcow2
ENV KVM='accel=kvm:tcg' 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=e1000-82545em
ENV NETWORKING=vmxnet3 ENV NETWORKING=vmxnet3

@ -40,6 +40,7 @@ ARG SIZE=200G
# OPTIONAL: Arch Linux server mirrors for super fast builds # OPTIONAL: Arch Linux server mirrors for super fast builds
# set RANKMIRRORS to any value other that nothing, e.g. -e RANKMIRRORS=true # 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 RANKMIRRORS
ARG MIRROR_COUNTRY=US ARG MIRROR_COUNTRY=US
ARG MIRROR_COUNT=10 ARG MIRROR_COUNT=10
@ -334,10 +335,11 @@ ENV KVM='accel=kvm:tcg'
# ENV NETWORKING=e1000-82545em # ENV NETWORKING=e1000-82545em
ENV NETWORKING=vmxnet3 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 # dynamic RAM options for runtime
ENV RAM=3 ENV RAM=4
# ENV RAM=max # ENV RAM=max
# ENV RAM=half # ENV RAM=half

Loading…
Cancel
Save