openbazaar-go icon indicating copy to clipboard operation
openbazaar-go copied to clipboard

Dev docker build is not working

Open chebyte opened this issue 5 years ago • 1 comments

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

chebyte avatar Sep 04 '20 18:09 chebyte

Thanks @chebyte.

It seems you're bumping into this issue with the delve package: https://github.com/go-delve/delve/issues/2077

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

szollo avatar Sep 04 '20 19:09 szollo