public NodeVersion(string version, string runtimeName, string dockerImageTag) { Version = version; _runtimeName = runtimeName; _dockerContainer = Docker .TemporaryContainerFromImage($"node:{dockerImageTag}") .EntryPoint("yarn"); }
public PythonVersion(string version, string runtimeName, string dockerImageTag) { Version = version; _runtimeName = runtimeName; _dockerContainer = Docker .TemporaryContainerFromImage($"python:{dockerImageTag}") .EntryPoint("python"); }
public GoVersion(string version, string runtimeName, string dockerImageTag) { Version = version; _runtimeName = runtimeName; _dockerContainer = Docker .TemporaryContainerFromImage($"golang:{dockerImageTag}") .EntryPoint("go") .EnvironmentVariable("GOPATH", "/usr/local/src/.go"); }
public Task <bool> StopWatch(string path) { Docker.Remove(GetDockerName(path)); return(Task.FromResult(true)); }