mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-03-09 15:39:58 +00:00
Remove pointless VOLUME command. Replace curl with wget.
This commit is contained in:
parent
fc3df53d0b
commit
8db77770b0
3 changed files with 5 additions and 14 deletions
|
@ -193,14 +193,12 @@ ENV DISPLAY=:0.0
|
|||
|
||||
USER arch
|
||||
|
||||
VOLUME ["/tmp/.X11-unix"]
|
||||
|
||||
VOLUME /image
|
||||
|
||||
ENV IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img
|
||||
|
||||
VOLUME ["/tmp/.X11-unix"]
|
||||
|
||||
CMD case "$(file --brief /image)" in \
|
||||
QEMU*) export IMAGE_PATH=/image;; \
|
||||
QEMU*) export IMAGE_PATH=/image && sudo chown "$(id -u)":"$(id -g)" "${IMAGE_PATH}" 2>/dev/null || true;; \
|
||||
directory*) export IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img;; \
|
||||
esac \
|
||||
; ./enable-ssh.sh && envsubst < ./Launch.sh | bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue