aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.auto
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-02-26 03:46:58 +0000
committersickcodes <[email protected]>2021-02-26 03:46:58 +0000
commit105fdfd48faffa38b478d4e95d4dfec10ef31216 (patch)
treeeca571466deebcb0db7d7316ccf3b658e60c26f8 /Dockerfile.auto
parentMerge pull request #153 from sickcodes/nopickers (diff)
downloaddocker-osx-105fdfd48faffa38b478d4e95d4dfec10ef31216.tar.xz
docker-osx-105fdfd48faffa38b478d4e95d4dfec10ef31216.zip
Add an unset WGET_OPTIONS variable that is set to --no-verbose in hub.docker.com, but unset by default, so you can watch progress.
Diffstat (limited to 'Dockerfile.auto')
-rw-r--r--Dockerfile.auto5
1 files changed, 4 insertions, 1 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto
index ab8e67d..c36328f 100644
--- a/Dockerfile.auto
+++ b/Dockerfile.auto
@@ -119,10 +119,13 @@ ARG IMAGE_URL='https://images2.sick.codes/mac_hdd_ng_auto.img'
# use the COMPLETE arg, for a complete image, ready to boot.
# otherwise use your own image: -v "$PWD/disk.img":/image
+ARG WGET_OPTIONS=
+# ARG WGET_OPTIONS='--no-verbose'
+
RUN if [[ "${COMPLETE}" ]]; then \
echo "Downloading 20GB+ image... This step might take a while... Press Ctrl+C if you want to abort." \
; rm -f /home/arch/OSX-KVM/mac_hdd_ng.img \
- && wget --no-verbose -O /home/arch/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
+ && wget ${WGET_OPTIONS} -O /home/arch/OSX-KVM/mac_hdd_ng.img "${IMAGE_URL}" \
; fi
RUN mv ./Launch-nopicker.sh ./Launch.sh