private static string _buildImage(ContainerImageDefinition imageDefinition, string blobSasToken)
        {
            var dockerBuildOutput = DockerCommands._runDockerBuild(blobSasToken, imageDefinition);

            var localImageId = _imageIdFromDockerBuildOutput(dockerBuildOutput);

            return(localImageId);
        }
Example #2
0
        private static string _buildImage(string acrServerRepo, string dockerInstallScriptsRootDir, ContainerImageDefinition imageDefinition, string blobSasToken)
        {
            var dockerBuildOutput = DockerCommands._runDockerBuild(acrServerRepo, dockerInstallScriptsRootDir, blobSasToken, imageDefinition);

            var localImageId = _imageIdFromDockerBuildOutput(dockerBuildOutput);

            return(localImageId);
        }