From f21c7589ebf77b8aefeb25f967cc2a25bad1fdb0 Mon Sep 17 00:00:00 2001 From: Meng Ye <4025839+jk2K@users.noreply.github.com> Date: Tue, 14 Dec 2021 11:10:53 +0800 Subject: [PATCH] fix: vnc version support arg BASE_IMAGE. support dynamic change of Base Image --- vnc-version/Dockerfile | 3 ++- vnc-version/Dockerfile.nakedvnc | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/vnc-version/Dockerfile b/vnc-version/Dockerfile index 5995142..1abaa00 100644 --- a/vnc-version/Dockerfile +++ b/vnc-version/Dockerfile @@ -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' diff --git a/vnc-version/Dockerfile.nakedvnc b/vnc-version/Dockerfile.nakedvnc index 9d2e491..f1d0cf3 100644 --- a/vnc-version/Dockerfile.nakedvnc +++ b/vnc-version/Dockerfile.nakedvnc @@ -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'