You've already forked Docker-OSX
mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-07-02 18:53:31 -05:00
Remove pointless VOLUME command. Replace curl with wget.
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user