fix: vnc version support arg BASE_IMAGE. support dynamic change of Base Image

pull/408/head
Meng Ye 3 years ago
parent e8a81fb8d9
commit f21c7589eb

@ -70,7 +70,8 @@
# VNC Version # VNC Version
# Let's piggyback the other image: # 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> 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 # 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> MAINTAINER 'https://twitter.com/sickcodes' <https://sick.codes>

Loading…
Cancel
Save