summaryrefslogtreecommitdiffstats
path: root/pkg/container/linux_container_environment_extensions.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/container/linux_container_environment_extensions.go')
-rw-r--r--pkg/container/linux_container_environment_extensions.go11
1 files changed, 9 insertions, 2 deletions
diff --git a/pkg/container/linux_container_environment_extensions.go b/pkg/container/linux_container_environment_extensions.go
index d673451..3518554 100644
--- a/pkg/container/linux_container_environment_extensions.go
+++ b/pkg/container/linux_container_environment_extensions.go
@@ -10,8 +10,7 @@ import (
log "github.com/sirupsen/logrus"
)
-type LinuxContainerEnvironmentExtensions struct {
-}
+type LinuxContainerEnvironmentExtensions struct{}
// Resolves the equivalent host path inside the container
// This is required for windows and WSL 2 to translate things like C:\Users\Myproject to /mnt/users/Myproject
@@ -47,6 +46,14 @@ func (*LinuxContainerEnvironmentExtensions) ToContainerPath(path string) string
return result
}
+func (*LinuxContainerEnvironmentExtensions) GetName() string {
+ return "NAME"
+}
+
+func (*LinuxContainerEnvironmentExtensions) GetRoot() string {
+ return "/var/run"
+}
+
func (*LinuxContainerEnvironmentExtensions) GetActPath() string {
return "/var/run/act"
}