Docker: Use repo + tag for image identification

Makes configurations a bit better exchangable (sdktool...).

Change-Id: Ia566a516afea2205c973527e02ce5664634ebbdc
Reviewed-by: Christian Stenger <christian.stenger@qt.io>
This commit is contained in:
hjk
2022-02-08 09:41:46 +01:00
parent a6fcb4b3ce
commit 0b131fae72
3 changed files with 60 additions and 27 deletions

View File

@@ -37,7 +37,10 @@ namespace Internal {
class DockerDeviceData
{
public:
QString id() const { return "docker:" + imageId; }
// Used for "docker run" and for host parts of FilePaths
QString dockerId() const;
// Used as autodetection source string
QString autodetectId() const { return "docker:" + dockerId(); }
QString imageId;
QString repo;