                 encoding: .utf8
         )
         
-        let tag = executable.lowercased()
-        
         var opts = ["build", "-t", tag, "-f", "\(hexavilleApplicationPath)/Dockerfile", hexavilleApplicationPath]
         if let docker = config.docker, let nocache = docker.buildOptions.nocache, nocache {
             opts.insert("--no-cache", at: 1)

    }
    
    func build(config: HexavilleFile, hexavilleApplicationPath: String, executable: String) throws -> BuildResult {
        
        print("\nDocker version")
        let dockerVersionResult = Process.exec("docker", ["version"])

            throw DockerBuildEnvironmentProviderError.dockerBuildFailed
        }
        
        let mkdirResult = Process.exec("mkdir", ["-p", sharedDir])
        if mkdirResult.terminationStatus != 0 {
            throw DockerBuildEnvironmentProviderError.couldNotMakeSharedDir
