mirror of
https://github.com/sickcodes/Docker-OSX.git
synced 2024-11-26 04:01:29 +08:00
fix: vnc version support arg BASE_IMAGE. support dynamic change of Base Image
This commit is contained in:
parent
e8a81fb8d9
commit
f21c7589eb
@ -70,7 +70,8 @@
|
||||
# VNC Version
|
||||
# Let's piggyback the other image:
|
||||
|
||||
FROM sickcodes/docker-osx:latest
|
||||
ARG BASE_IMAGE=sickcodes/docker-osx:latest
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
||||
|
||||
|
@ -30,7 +30,8 @@
|
||||
# docker run -it --device /dev/kvm -p 50922:10022 -v ${PWD}/mac_hdd_ng.img:/image -e "DISPLAY=${DISPLAY:-:0.0}" -v /tmp/.X11-unix:/tmp/.X11-unix docker-osx:nakedvnc
|
||||
#
|
||||
|
||||
FROM sickcodes/docker-osx:latest
|
||||
ARG BASE_IMAGE=sickcodes/docker-osx:latest
|
||||
FROM ${BASE_IMAGE}
|
||||
|
||||
MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user