Skip to content

Error when running 'docker-compose up' #9

@fabriziomello

Description

@fabriziomello

Hi all,

I'm trying to use structbase to start contributing but after clone repo and try 'docker-compose up' I got the following error:

$ docker-compose up
Building go
Step 1/8 : FROM golang:alpine
 ---> c283ac5a8f78
Step 2/8 : LABEL mantainer "t@avelino.xxx"
 ---> Using cache
 ---> f71a14777f65
Step 3/8 : RUN apk --no-cache add git wget
 ---> Using cache
 ---> 72a3004838f4
Step 4/8 : WORKDIR /go/src/github.com/structy/structbase
 ---> Using cache
 ---> 9d65a00b547a
Step 5/8 : COPY . /go/src/github.com/structy/structbase
 ---> Using cache
 ---> 6a67163f79cf
Step 6/8 : RUN go get -u github.com/golang/dep/... &&     dep ensure &&     go install &&     wget https://raw.githubusercontent.com/nuveo/tcp-port-wait/master/tcp-port-wait.sh &&     chmod +x tcp-port-wait.sh
 ---> Running in 89df38ba7a98
go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
	ignoring go.mod;
	see 'go help modules'
package github.com/golang/dep/...: github.com/golang/dep/...: invalid import path: malformed import path "github.com/golang/dep/...": double dot
ERROR: Service 'go' failed to build: The command '/bin/sh -c go get -u github.com/golang/dep/... &&     dep ensure &&     go install &&     wget https://raw.githubusercontent.com/nuveo/tcp-port-wait/master/tcp-port-wait.sh &&     chmod +x tcp-port-wait.sh' returned a non-zero code: 1

$ docker --version
Docker version 17.03.2-ce, build f5ec1e2

$ docker-compose --version
docker-compose version 1.23.1, build b02f1306

If I'm correct the error is related to this issue: golang/go#29241

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions