Skip to content

Commit

Permalink
Revert normal Dockerfile to have a picker. Massively increase build s…
Browse files Browse the repository at this point in the history
…peed. 4G RAM minimum
  • Loading branch information
sickcodes committed Nov 30, 2021
1 parent a04466a commit 0202359
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion Dockerfile
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
6 changes: 4 additions & 2 deletions Dockerfile.naked
Expand Up @@ -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
Expand Down Expand Up @@ -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

Expand Down

0 comments on commit 0202359

Please sign in to comment.