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

This commit is contained in:
Meng Ye 2021-12-14 11:10:53 +08:00
parent e8a81fb8d9
commit f21c7589eb
2 changed files with 4 additions and 2 deletions

View File

@ -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>

View File

@ -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>