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

Pavel Avilov updated BEAM-13282:
--------------------------------
    Description: 
Create Docker file with GO Beam SDK which is able to run examples with Beam go 
code.

Docker file requirements:
 # Docker file with GO SDK
 # Docker file should create a prepared directory for initializing go.mod and 
go.sum(path directory get from env. variable "PREPARED_MOD_DIR" )
 # 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{_} ** 
*3.  go mod download all*

 

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

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

Docker file requirements:
 # Docker file with GO SDK
 # Docker file should copy the attached *[^go.mod]* file and put it in this 
directory: 
path from "APP_WORK_DIR"(env. variable) + "/executable_files".
The go.mod file defines the module's module path, which is also the import path 
used for the root directory, and its dependency requirements, which are the 
other modules needed for a successful build. 
 # In this directory write the following command: *go mod download all*   
_(downloads the named modules into the module cache)_

 

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


> Create GO docker file
> ---------------------
>
>                 Key: BEAM-13282
>                 URL: https://issues.apache.org/jira/browse/BEAM-13282
>             Project: Beam
>          Issue Type: Sub-task
>          Components: beam-playground
>            Reporter: Pavel Avilov
>            Assignee: Daria Malkova
>            Priority: P2
>              Labels: beam-playground-devops, beam-playground-sprint-3, 
> beam-playground-sprint-4
>         Attachments: Dockerfile
>
>
> Create Docker file with GO Beam SDK which is able to run examples with Beam 
> go code.
> Docker file requirements:
>  # Docker file with GO SDK
>  # Docker file should create a prepared directory for initializing go.mod and 
> go.sum(path directory get from env. variable "PREPARED_MOD_DIR" )
>  # 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{_} ** 
> *3.  go mod download all*
>  
> Also attached is an example of a [^Dockerfile] with which they were 
> successfully run examples with Beam go code.



--
This message was sent by Atlassian Jira
(v8.20.1#820001)

Reply via email to