Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Dev docker build is not working #2098

Open
chebyte opened this issue Sep 4, 2020 · 1 comment
Open

Dev docker build is not working #2098

chebyte opened this issue Sep 4, 2020 · 1 comment

Comments

@chebyte
Copy link

chebyte commented Sep 4, 2020

Hello there, I trying to run docker dev env for start to develop but it returns the following error

#make dev_docker
docker build -t openbazaar/server-dev:0.10 -f ./Dockerfile.dev .
Sending build context to Docker daemon  212.9MB
Step 1/7 : FROM openbazaar/server-qa:0.10
 ---> 748fc0e97035
Step 2/7 : RUN go get -u github.com/gogo/protobuf/proto               github.com/golang/protobuf/protoc-gen-go               github.com/icrowley/fake               github.com/derekparker/delve/cmd/dlv               github.com/tools/godep
 ---> Running in 12c4aceef1a1

# github.com/go-delve/delve/pkg/proc/native
../../go-delve/delve/pkg/proc/native/proc_linux.go:176:16: undefined: strings.ReplaceAll
The command '/bin/sh -c go get -u github.com/gogo/protobuf/proto               github.com/golang/protobuf/protoc-gen-go               github.com/icrowley/fake               github.com/derekparker/delve/cmd/dlv               github.com/tools/godep' returned a non-zero code: 2
make: *** [dev_docker] Error 2

thanks for advance

@szollo
Copy link
Member

szollo commented Sep 4, 2020

Thanks @chebyte.

It seems you're bumping into this issue with the delve package: go-delve/delve#2077

What version of go are you running? Just tested and it builds without issues on go1.13.4.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants