Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

OEC Docker

Petr Schovánek
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
May 26, 2020

Hi, I only inform opsgenie support

 

doc: https://docs.opsgenie.com/docs/oec-running

 

1) invalid argument "OEC" for "-t, --tag" flag: invalid reference format: repository name must be lowercase

- ok, rename :)

 

2) Step 6/12 : RUN export GIT_COMMIT=$(git rev-list -1 HEAD) && dep ensure -v && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags "-X main.OECCommitVersion=$GIT_COMMIT -X main.OECVersion=1.0.1" -o nocgo -o /oec .
---> Running in 24f211defacd
could not find project Gopkg.toml, use dep init to initiate a manifest
The command '/bin/sh -c export GIT_COMMIT=$(git rev-list -1 HEAD) && dep ensure -v && CGO_ENABLED=0 GOOS=linux GOARCH=amd64 go build -a -installsuffix cgo -ldflags "-X main.OECCommitVersion=$GIT_COMMIT -X main.OECVersion=1.0.1" -o nocgo -o /oec .' returned a non-zero code: 1

I solved it by adding "dep init" to Dockerfile

 

 

 

1 answer

0 votes
Don Pierce
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
March 12, 2021

Thanks for the info this will help other users... 

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events