aboutsummaryrefslogtreecommitdiffstats
path: root/src/plugins/docker/dockerdevice.h
diff options
context:
space:
mode:
authorMarcus Tillmanns <[email protected]>2022-09-14 16:43:39 +0200
committerMarcus Tillmanns <[email protected]>2022-09-26 09:49:58 +0000
commite42021bb09e182951b600a94eb06470834dd4b6a (patch)
treefb6cd457613a78e7eb46dbfc87aebfcaf0163802 /src/plugins/docker/dockerdevice.h
parent090dfb7ca5b9f63304f9398a13000d0918ac04f0 (diff)
DockerDevice: Do not change the containers entrypoint
Some containers may use their entrypoint to setup their environment. Simply overwriting it from our side would disable such setup and make the containers useless. Change-Id: I3385858c49aa8217c3191acdb85343ffd6163cf9 Reviewed-by: hjk <[email protected]>
Diffstat (limited to 'src/plugins/docker/dockerdevice.h')
-rw-r--r--src/plugins/docker/dockerdevice.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/plugins/docker/dockerdevice.h b/src/plugins/docker/dockerdevice.h
index b1ddb18b418..7a9bb6e75a3 100644
--- a/src/plugins/docker/dockerdevice.h
+++ b/src/plugins/docker/dockerdevice.h
@@ -22,7 +22,8 @@ public:
bool operator==(const DockerDeviceData &other) const
{
return imageId == other.imageId && repo == other.repo && tag == other.tag
- && useLocalUidGid == other.useLocalUidGid && mounts == other.mounts;
+ && useLocalUidGid == other.useLocalUidGid && mounts == other.mounts
+ && keepEntryPoint == other.keepEntryPoint;
}
bool operator!=(const DockerDeviceData &other) const { return !(*this == other); }
@@ -45,6 +46,7 @@ public:
QString size;
bool useLocalUidGid = true;
QStringList mounts = {Core::DocumentManager::projectsDirectory().toString()};
+ bool keepEntryPoint = false;
};
class DockerDevice : public ProjectExplorer::IDevice