Uploaded image for project: 'Beam'
  1. Beam
  2. BEAM-12426

Unable to build custom containers

Details

    • Bug
    • Status: Resolved
    • P2
    • Resolution: Not A Bug
    • 2.29.0
    • Missing
    • sdk-go
    • Macbook Pro M1
    • Patch

    Description

       

      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 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
      
      

      Navigating to the path (https://storage.googleapis.com/golang/go1.12.7.darwin-arm64.tar.gz) confirms the error.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            jankrynauw Jan Krynauw
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified