Details

    Description

      Create Docker file with GO Beam SDK which is able to run examples with Beam go code.

      Docker file requirements:

      1. Docker file with GO
      2. Docker file should create a prepared directory for initializing go.mod and go.sum(path directory get from env. variable "PREPARED_MOD_DIR" )
      3. In this directory execute the following command:
        1.  go mod init executable_files 
        2.  go get -u github.com/apache/beam/sdks/v2@v$BEAM_VERSION        (BEAM_VERSION is argument, currently = 2.33.0)
        3.  go mod download all

       

      Also attached is an example of a Dockerfile with which they were successfully run examples with Beam go code.

      Attachments

        1. Dockerfile
          2 kB
          Pavel Avilov

        Issue Links

          Activity

            People

              skalinin Sergey Kalinin
              pavel.avilov Pavel Avilov
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved:

                Time Tracking

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