aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-03-04 09:52:45 +0000
committersickcodes <[email protected]>2021-03-04 09:52:45 +0000
commit377c4e7cc5cdd785e965e13e15086c2326797b51 (patch)
tree7e3c8bdf73e97686cae8b6ab32befb170e31cc0f /Dockerfile
parentAdd --custom-plist-url, --custom-plist <filename> or --master-plist to both s... (diff)
downloaddocker-osx-377c4e7cc5cdd785e965e13e15086c2326797b51.tar.xz
docker-osx-377c4e7cc5cdd785e965e13e15086c2326797b51.zip
Add -e MASTER_PLIST_URL to change the input config.plist at runtime.
Diffstat (limited to 'Dockerfile')
-rw-r--r--Dockerfile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Dockerfile b/Dockerfile
index 8afebe3..5539d62 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -273,6 +273,8 @@ ENV NOPICKER=false
ENV WIDTH=1920
ENV HEIGHT=1080
+ENV MASTER_PLIST_URL="https://raw.githubusercontent.com/sickcodes/Docker-OSX/master/custom/config-nopicker-custom.plist"
+
VOLUME ["/tmp/.X11-unix"]
# check if /image is a disk image or a directory. This allows you to optionally use -v disk.img:/image
@@ -307,6 +309,7 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS
; } \
; [[ "${GENERATE_UNIQUE}" == true ]] && { \
./Docker-OSX/custom/generate-unique-machine-values.sh \
+ --master-plist-url="${MASTER_PLIST_URL}" \
--count 1 \
--tsv ./serial.tsv \
--bootdisks \
@@ -318,6 +321,7 @@ CMD sudo chown -R $(id -u):$(id -g) /dev/kvm /dev/snd "${IMAGE_PATH}" "${BOOTDIS
; [[ "${GENERATE_SPECIFIC}" == true ]] && { \
source "${ENV:=/env}" \
|| ./Docker-OSX/custom/generate-specific-bootdisk.sh \
+ --master-plist-url="${MASTER_PLIST_URL}" \
--model "${DEVICE_MODEL}" \
--serial "${SERIAL}" \
--board-serial "${BOARD_SERIAL}" \