Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Docker fails to build #17

Open
codeasashu opened this issue Sep 2, 2020 · 0 comments
Open

Docker fails to build #17

codeasashu opened this issue Sep 2, 2020 · 0 comments

Comments

@codeasashu
Copy link

Expected behavior

Running docker build should build the binary

Current behavior

docker build outputs following error:

Sending build context to Docker daemon  501.8kB
Step 1/7 : FROM golang:1.8
 ---> 0d283eb41a92
Step 2/7 : MAINTAINER mlabouardy <mohamed@labouardy.com>
 ---> Running in ec5745dbc752
Removing intermediate container ec5745dbc752
 ---> a5953c73a31b
Step 3/7 : WORKDIR /go/src/github.com/mlabouardy/swaggymnia/
 ---> Running in 8ae3e6f34162
Removing intermediate container 8ae3e6f34162
 ---> 02774e453a00
Step 4/7 : COPY . .
 ---> 07e780679e78
Step 5/7 : RUN go get -v
 ---> Running in b4d746fddaaa
github.com/ghodss/yaml (download)
Fetching https://gopkg.in/yaml.v2?go-get=1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag main.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
gopkg.in/yaml.v2 (download)
github.com/urfave/cli (download)
github.com/cpuguy83/go-md2man (download)
package github.com/cpuguy83/go-md2man/v2/md2man: cannot find package "github.com/cpuguy83/go-md2man/v2/md2man" in any of:
	/usr/local/go/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOROOT)
	/go/src/github.com/cpuguy83/go-md2man/v2/md2man (from $GOPATH)
The command '/bin/sh -c go get -v' returned a non-zero code: 1

Steps to reproduce the behavior

  • clone the repo
  • Run docker build -t swaggymnia .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant