Esempio n. 1
0
            public NodeVersion(string version, string runtimeName, string dockerImageTag)
            {
                Version      = version;
                _runtimeName = runtimeName;

                _dockerContainer = Docker
                                   .TemporaryContainerFromImage($"node:{dockerImageTag}")
                                   .EntryPoint("yarn");
            }
Esempio n. 2
0
            public PythonVersion(string version, string runtimeName, string dockerImageTag)
            {
                Version      = version;
                _runtimeName = runtimeName;

                _dockerContainer = Docker
                                   .TemporaryContainerFromImage($"python:{dockerImageTag}")
                                   .EntryPoint("python");
            }
Esempio n. 3
0
            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");
            }
Esempio n. 4
0
            public Task <bool> StopWatch(string path)
            {
                Docker.Remove(GetDockerName(path));

                return(Task.FromResult(true));
            }