mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2025-03-09 15:39:58 +00:00
Use -e OSX_COMMANDS to run commands in OSX at runtime in :auto. Add docker start -i instructions.
This commit is contained in:
parent
8db77770b0
commit
27d7496a70
4 changed files with 39 additions and 30 deletions
|
@ -121,10 +121,4 @@ RUN printf '\n\n\n\n%s\n%s\n\n\n\n' '===========VNC_PASSWORD========== ' "$(<vnc
|
|||
|
||||
WORKDIR /home/arch/OSX-KVM
|
||||
|
||||
VOLUME /image
|
||||
|
||||
CMD case "$(file --brief /image)" in \
|
||||
QEMU*) export IMAGE_PATH=/image;; \
|
||||
directory*) export IMAGE_PATH=/home/arch/OSX-KVM/mac_hdd_ng.img;; \
|
||||
esac \
|
||||
; ./enable-ssh.sh && envsubst < ./Launch_custom.sh | bash
|
||||
CMD ./enable-ssh.sh && envsubst < ./Launch_custom.sh | bash
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue