From: Martin Pitt Date: Mon, 11 Oct 2021 15:27:58 +0000 (+0200) Subject: build-cockpit-toolbox: Support overriding name and tag X-Git-Url: https://piware.de/gitweb/?a=commitdiff_plain;h=094c487d273d468c5204dc6a578d01c3774155b3;p=bin.git build-cockpit-toolbox: Support overriding name and tag --- diff --git a/build-cockpit-toolbox b/build-cockpit-toolbox index aa3dca3..d233b78 100755 --- a/build-cockpit-toolbox +++ b/build-cockpit-toolbox @@ -1,10 +1,11 @@ #!/bin/sh set -eux -NAME=cockpit +NAME=${NAME:-cockpit} +TAG=${TAG:-latest} toolbox rm --force $NAME || true -podman pull quay.io/cockpit/tasks -yes | toolbox create --image quay.io/cockpit/tasks -c $NAME +podman pull quay.io/cockpit/tasks:${TAG} +yes | toolbox create --image quay.io/cockpit/tasks:${TAG} -c $NAME # install some extra development and desktop tools toolbox run -c "$NAME" sh -exc '