aboutsummaryrefslogtreecommitdiff
path: root/Dockerfile.auto
diff options
context:
space:
mode:
authorsickcodes <[email protected]>2021-01-26 21:25:45 +0000
committersickcodes <[email protected]>2021-01-26 21:25:45 +0000
commit8db77770b05157d24a40f5341dd0104ad0e7fd43 (patch)
tree64422e9686433e9cbfc0cad0c669bdf6b92c442a /Dockerfile.auto
parentzstd decompress instead of re-compress in README.md (diff)
downloaddocker-osx-8db77770b05157d24a40f5341dd0104ad0e7fd43.tar.xz
docker-osx-8db77770b05157d24a40f5341dd0104ad0e7fd43.zip
Remove pointless VOLUME command. Replace curl with wget.
Diffstat (limited to 'Dockerfile.auto')
-rw-r--r--Dockerfile.auto9
1 files changed, 2 insertions, 7 deletions
diff --git a/Dockerfile.auto b/Dockerfile.auto
index cdd3cf4..417bfec 100644
--- a/Dockerfile.auto
+++ b/Dockerfile.auto
@@ -96,17 +96,12 @@ ARG IMAGE_URL='https://images2.sick.codes/mac_hdd_ng_auto.img'
# otherwise use your own image: -v "$PWD/disk.img":/image
RUN if [[ "${COMPLETE}" ]]; then \
echo "Downloading 20GB+ image... This step might take a while... Press Ctrl+C if you want to abort." \
- ; wget --no-verbose \
- --no-dns-cache \
- --no-check-certificate \
- --output-document=/home/arch/OSX-KVM/mac_hdd_ng.img \
- "${IMAGE_URL}" \
+ ; rm -f /home/arch/OSX-KVM/mac_hdd_ng.img \
+ && curl -k "${IMAGE_URL}" > /home/arch/OSX-KVM/mac_hdd_ng.img \
; fi
RUN mv ./Launch-nopicker.sh ./Launch.sh
-VOLUME /image
-
ENV DISPLAY=:99
ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img