mlabouardy / swaggymnia

Generate Swagger 🌀 documentation for your existing API in Insomnia
MIT License
428 stars 31 forks source link

Docker fails to build #17

Open codeasashu opened 4 years ago

codeasashu commented 4 years ago

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