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/?p=bin.git;a=commitdiff_plain;h=094c487d273d468c5204dc6a578d01c3774155b3;hp=e0c1c1a8225413d1162dfa39271585a245dc8bb0 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 '