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

Docker build problem #58

Closed
denizkaanaraci opened this issue Mar 19, 2020 · 3 comments
Closed

Docker build problem #58

denizkaanaraci opened this issue Mar 19, 2020 · 3 comments

Comments

@denizkaanaraci
Copy link

Hi,

I got this error while building ion's docker image. Do you have any idea to fix this?

docker-compose build

rabbitmq uses an image, skipping
etcd uses an image, skipping
redis uses an image, skipping
Building ion
Step 1/14 : FROM golang:1.13.7-stretch
 ---> fcc723b9d794
Step 2/14 : ENV GO111MODULE=on
 ---> Using cache
 ---> 3c90ba87945e
Step 3/14 : WORKDIR $GOPATH/src/github.com/pion/ion
 ---> Using cache
 ---> 012fa53e3de7
Step 4/14 : COPY go.mod go.sum ./
 ---> Using cache
 ---> 2f6d75bc371a
Step 5/14 : RUN cd $GOPATH/src/github.com/pion/ion && go mod download
 ---> Using cache
 ---> a6a618197428
Step 6/14 : COPY . $GOPATH/src/github.com/pion/ion
 ---> Using cache
 ---> b0a29ebbe133
Step 7/14 : WORKDIR $GOPATH/src/github.com/pion/ion/cmd/ion
 ---> Using cache
 ---> 992eaf93ceb2
Step 8/14 : RUN CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /ion .
 ---> Running in 43efc95e61ed
can't load package: package .: no Go files in /go/src/github.com/pion/ion/cmd/ion
ERROR: Service 'ion' failed to build: The command '/bin/sh -c CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -o /ion .' returned a non-zero code: 1

@jonahzheng
Copy link
Contributor

#52 the same issue

@Sean-Der
Copy link
Contributor

Hey! Would you mind trying #60

If that works for you will merge, thank you!

@Sean-Der
Copy link
Contributor

#60 was merged, this should work now!

Thanks for using Pion :)

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

3 participants