You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@beam.apache.org by "Jan Krynauw (Jira)" <ji...@apache.org> on 2021/05/28 22:17:00 UTC

[jira] [Updated] (BEAM-12426) Unable to build custom containers

     [ https://issues.apache.org/jira/browse/BEAM-12426?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Jan Krynauw updated BEAM-12426:
-------------------------------
    Resolution: Not A Bug
        Status: Resolved  (was: Triage Needed)

was only unable to run on MacBook Pro

> Unable to build custom containers
> ---------------------------------
>
>                 Key: BEAM-12426
>                 URL: https://issues.apache.org/jira/browse/BEAM-12426
>             Project: Beam
>          Issue Type: Bug
>          Components: sdk-go
>    Affects Versions: 2.29.0
>         Environment: Macbook Pro M1
>            Reporter: Jan Krynauw
>            Priority: P2
>              Labels: newbie
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
>  
> I'm trying to build custom containers for the go-sdk as per the documentation at:
> https://beam.apache.org/documentation/runtime/environments/#modifying-dockerfiles
> In particulare running the command ./gradlew :sdks:go:container:docker gives the following error:
> {code:java}
> // code placeholder
> jankrynauw@MacBook-Air beam % ./gradlew :sdks:go:container:docker
> Starting a Gradle Daemon (subsequent builds will be faster)
> Watching the file system is not supported on this operating system.
> > Task :buildSrc:compileJava NO-SOURCE
> > Task :buildSrc:compileGroovy FROM-CACHE
> > Task :buildSrc:pluginDescriptors
> > Task :buildSrc:processResources
> > Task :buildSrc:classes
> > Task :buildSrc:jar
> > Task :buildSrc:assemble
> > Task :buildSrc:spotlessGroovy FROM-CACHE
> > Task :buildSrc:spotlessGroovyCheck UP-TO-DATE
> > Task :buildSrc:spotlessGroovyGradle FROM-CACHE
> > Task :buildSrc:spotlessGroovyGradleCheck UP-TO-DATE
> > Task :buildSrc:spotlessCheck UP-TO-DATE
> > Task :buildSrc:pluginUnderTestMetadata
> > Task :buildSrc:compileTestJava NO-SOURCE
> > Task :buildSrc:compileTestGroovy NO-SOURCE
> > Task :buildSrc:processTestResources NO-SOURCE
> > Task :buildSrc:testClasses UP-TO-DATE
> > Task :buildSrc:test NO-SOURCE
> > Task :buildSrc:validatePlugins FROM-CACHE
> > Task :buildSrc:check UP-TO-DATE
> > Task :buildSrc:build
> Configuration on demand is an incubating feature.> Configure project :sdks:go
> Start downloading go 1.12.7.
> downloading https://storage.googleapis.com/golang/go1.12.7.darwin-arm64.tar.gz -> /Users/jankrynauw/.gradle/go/binary/go1.12.7.darwin-arm64.tar.gzFAILURE: Build failed with an exception.* What went wrong:
> A problem occurred configuring project ':sdks:go'.
> > java.io.IOException: Error in accessing https://storage.googleapis.com/golang/go1.12.7.darwin-arm64.tar.gz, http response code: 404
> {code}
> Navigating to the path ([https://storage.googleapis.com/golang/go1.12.7.darwin-arm64.tar.gz)] confirms the error.
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)