abiosoft / caddy-docker

Docker container for Caddy
https://hub.docker.com/r/abiosoft/caddy/
MIT License
768 stars 315 forks source link

reauth plugin can't be installed with this image #180

Closed ghost closed 4 years ago

ghost commented 5 years ago

I exectuted

docker build --build-arg plugins=reauth github.com/abiosoft/caddy-docker.git

It didn't successfully install caddy with reauth plugin, I try to install git, cors, realip, expires, cache, filter plugin, but they were successfully installed.

root@debian:~/docker# docker build --build-arg plugins=reauth github.com/abiosoft/caddy-docker.git
Sending build context to Docker daemon  101.9kB
Step 1/22 : FROM abiosoft/caddy:builder as builder
 ---> d13c525ed8b9
Step 2/22 : ARG version="1.0.0"
 ---> Using cache
 ---> 34b826b686cb
Step 3/22 : ARG plugins="git,cors,realip,expires,cache"
 ---> Using cache
 ---> 680628dbf87c
Step 4/22 : RUN go get -v github.com/abiosoft/parent
 ---> Running in 34424958a429
github.com/abiosoft/parent (download)
github.com/abiosoft/parent
Removing intermediate container 34424958a429
 ---> 0fde7fd73300
Step 5/22 : RUN VERSION=${version} PLUGINS=${plugins} /bin/sh /usr/bin/builder.sh
 ---> Running in 32e37e8a9838

Cloning into '/go/src/github.com/mholt/caddy'...
starting stage: fetching caddy source
Note: checking out '15fecbc16151308959674a5ce3843efb9e66bd5f'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

finished stage: fetching caddy source ✓

starting stage: installing plugin helper
go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
    ignoring go.mod;
    see 'go help modules'
github.com/abiosoft/caddyplug (download)
github.com/abiosoft/errs (download)
github.com/fatih/color (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/abiosoft/errs
github.com/abiosoft/caddyplug/internal
github.com/fatih/color/vendor/github.com/mattn/go-isatty
github.com/fatih/color/vendor/github.com/mattn/go-colorable
github.com/fatih/color
golang.org/x/sys/unix
github.com/abiosoft/caddyplug/caddyplug
finished stage: installing plugin helper ✓

starting stage: generating plugins
finished stage: generating plugins ✓

starting stage: customising plugins and telemetry
go: creating new go.mod: module caddy
go: finding github.com/mholt/caddy v1.0.0
Fetching https://golang.org/x/net?go-get=1
go: finding github.com/hashicorp/go-syslog v1.0.0
go: finding github.com/naoina/toml v0.1.1
go: finding github.com/klauspost/cpuid v1.2.0
go: finding github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: finding github.com/gorilla/websocket v1.4.0
go: finding github.com/naoina/go-stringutil v0.1.0
go: finding github.com/russross/blackfriday v0.0.0-20170610170232-067529f716f4
go: finding github.com/google/uuid v1.1.1
go: finding github.com/dustin/go-humanize v1.0.0
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
get "golang.org/x/net": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net?go-get=1
go: finding golang.org/x/net v0.0.0-20190328230028-74de082e2cca
Fetching https://gopkg.in/mcuadros/go-syslog.v2?go-get=1
go: finding github.com/BurntSushi/toml v0.3.1
go: finding github.com/mholt/certmagic v0.5.0
Fetching https://gopkg.in/natefinch/lumberjack.v2?go-get=1
go: finding github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: finding github.com/go-acme/lego v2.5.0+incompatible
Fetching https://gopkg.in/yaml.v2?go-get=1
go: finding github.com/lucas-clemente/quic-go v0.10.2
go: finding github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348
Parsing meta tags from https://gopkg.in/mcuadros/go-syslog.v2?go-get=1 (status code 200)
get "gopkg.in/mcuadros/go-syslog.v2": found meta tag get.metaImport{Prefix:"gopkg.in/mcuadros/go-syslog.v2", VCS:"git", RepoRoot:"https://gopkg.in/mcuadros/go-syslog.v2"} at https://gopkg.in/mcuadros/go-syslog.v2?go-get=1
go: finding gopkg.in/mcuadros/go-syslog.v2 v2.2.1
Fetching https://golang.org/x/sys?go-get=1
Fetching https://golang.org/x/crypto?go-get=1
go: finding golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3
Parsing meta tags from https://gopkg.in/natefinch/lumberjack.v2?go-get=1 (status code 200)
get "gopkg.in/natefinch/lumberjack.v2": found meta tag get.metaImport{Prefix:"gopkg.in/natefinch/lumberjack.v2", VCS:"git", RepoRoot:"https://gopkg.in/natefinch/lumberjack.v2"} at https://gopkg.in/natefinch/lumberjack.v2?go-get=1
go: finding gopkg.in/natefinch/lumberjack.v2 v2.0.0
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
get "golang.org/x/crypto": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
get "golang.org/x/sys": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys?go-get=1
go: finding golang.org/x/sys v0.0.0-20190124100055-b90733256f2e
go: finding golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
go: finding gopkg.in/yaml.v2 v2.2.2
Fetching https://golang.org/x/text?go-get=1
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
get "golang.org/x/text": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text?go-get=1
go: finding golang.org/x/text v0.3.0
go: finding github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: finding github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: finding github.com/miekg/dns v1.1.3
Fetching https://gopkg.in/square/go-jose.v2?go-get=1
go: finding github.com/lucas-clemente/quic-clients v0.1.0
go: finding github.com/cenkalti/backoff v2.1.1+incompatible
go: finding github.com/marten-seemann/qtls v0.2.3
Parsing meta tags from https://gopkg.in/square/go-jose.v2?go-get=1 (status code 200)
get "gopkg.in/square/go-jose.v2": found meta tag get.metaImport{Prefix:"gopkg.in/square/go-jose.v2", VCS:"git", RepoRoot:"https://gopkg.in/square/go-jose.v2"} at https://gopkg.in/square/go-jose.v2?go-get=1
go: finding gopkg.in/square/go-jose.v2 v2.2.2
go: finding github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: finding github.com/onsi/ginkgo v1.8.0
Fetching https://golang.org/x/sync?go-get=1
Parsing meta tags from https://golang.org/x/sync?go-get=1 (status code 200)
get "golang.org/x/sync": found meta tag get.metaImport{Prefix:"golang.org/x/sync", VCS:"git", RepoRoot:"https://go.googlesource.com/sync"} at https://golang.org/x/sync?go-get=1
go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
go: finding github.com/golang/mock v1.2.0
go: finding golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
Fetching https://gopkg.in/check.v1?go-get=1
go: finding github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
Parsing meta tags from https://gopkg.in/check.v1?go-get=1 (status code 200)
get "gopkg.in/check.v1": found meta tag get.metaImport{Prefix:"gopkg.in/check.v1", VCS:"git", RepoRoot:"https://gopkg.in/check.v1"} at https://gopkg.in/check.v1?go-get=1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding github.com/onsi/gomega v1.5.0
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: finding github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: finding github.com/stretchr/testify v1.3.0
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/stretchr/objx v0.1.0
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/onsi/ginkgo v1.6.0
Fetching https://gopkg.in/tomb.v1?go-get=1
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding github.com/golang/protobuf v1.2.0
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/hpcloud/tail v1.0.0
Parsing meta tags from https://gopkg.in/tomb.v1?go-get=1 (status code 200)
get "gopkg.in/tomb.v1": found meta tag get.metaImport{Prefix:"gopkg.in/tomb.v1", VCS:"git", RepoRoot:"https://gopkg.in/tomb.v1"} at https://gopkg.in/tomb.v1?go-get=1
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
Fetching https://gopkg.in/fsnotify.v1?go-get=1
Parsing meta tags from https://gopkg.in/fsnotify.v1?go-get=1 (status code 200)
get "gopkg.in/fsnotify.v1": found meta tag get.metaImport{Prefix:"gopkg.in/fsnotify.v1", VCS:"git", RepoRoot:"https://gopkg.in/fsnotify.v1"} at https://gopkg.in/fsnotify.v1?go-get=1
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: downloading github.com/mholt/caddy v1.0.0
go: extracting github.com/mholt/caddy v1.0.0
go: downloading github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: downloading github.com/google/uuid v1.1.1
go: extracting github.com/google/uuid v1.1.1
go: extracting github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
github.com/flynn/go-shlex
github.com/google/uuid
github.com/mholt/caddy/telemetry
github.com/mholt/caddy/caddyfile
github.com/mholt/caddy
finished stage: customising plugins and telemetry ✓

starting stage: building caddy
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading github.com/gorilla/websocket v1.4.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/lucas-clemente/quic-go v0.10.2
go: downloading github.com/mholt/certmagic v0.5.0
go: downloading github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: downloading github.com/go-acme/lego v2.5.0+incompatible
go: downloading github.com/russross/blackfriday v0.0.0-20170610170232-067529f716f4
go: finding github.com/freman/caddy-reauth latest
go: extracting github.com/gorilla/websocket v1.4.0
go: extracting github.com/dustin/go-humanize v1.0.0
go: extracting github.com/russross/blackfriday v0.0.0-20170610170232-067529f716f4
go: extracting github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: downloading gopkg.in/yaml.v2 v2.2.2
go: extracting github.com/mholt/certmagic v0.5.0
go: downloading github.com/freman/caddy-reauth v0.0.0-20190129090642-c59fea191db7
go: extracting github.com/freman/caddy-reauth v0.0.0-20190129090642-c59fea191db7
go: downloading github.com/hashicorp/go-syslog v1.0.0
go: extracting github.com/lucas-clemente/quic-go v0.10.2
go: extracting github.com/hashicorp/go-syslog v1.0.0
go: extracting gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading golang.org/x/net v0.0.0-20190328230028-74de082e2cca
go: extracting gopkg.in/yaml.v2 v2.2.2
go: extracting golang.org/x/net v0.0.0-20190328230028-74de082e2cca
go: downloading github.com/klauspost/cpuid v1.2.0
go: downloading github.com/naoina/toml v0.1.1
go: extracting github.com/klauspost/cpuid v1.2.0
go: downloading github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: extracting github.com/naoina/toml v0.1.1
go: downloading github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: extracting github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: extracting github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: extracting github.com/go-acme/lego v2.5.0+incompatible
go: downloading golang.org/x/text v0.3.0
go: downloading github.com/naoina/go-stringutil v0.1.0
go: downloading github.com/cenkalti/backoff v2.1.1+incompatible
go: downloading gopkg.in/square/go-jose.v2 v2.2.2
go: downloading github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: extracting github.com/naoina/go-stringutil v0.1.0
go: downloading github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: extracting github.com/cenkalti/backoff v2.1.1+incompatible
go: extracting github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: downloading github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: downloading github.com/miekg/dns v1.1.3
go: extracting github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: extracting github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: extracting gopkg.in/square/go-jose.v2 v2.2.2
go: extracting golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: extracting github.com/miekg/dns v1.1.3
go: downloading golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
go: extracting golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
go: extracting golang.org/x/text v0.3.0
go: finding github.com/gilgameshskytrooper/caddy-secrets latest
go: finding github.com/allegro/bigcache v1.2.0
go: finding github.com/pkg/errors v0.8.1
go: downloading github.com/gilgameshskytrooper/caddy-secrets v0.0.0-20181014190907-c0d4cdebe6c9
go: extracting github.com/gilgameshskytrooper/caddy-secrets v0.0.0-20181014190907-c0d4cdebe6c9
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/allegro/bigcache v1.2.0
go: extracting github.com/pkg/errors v0.8.1
go: extracting github.com/allegro/bigcache v1.2.0
go: finding gopkg.in/ldap.v2 v2.5.1
go: downloading gopkg.in/ldap.v2 v2.5.1
go: extracting gopkg.in/ldap.v2 v2.5.1
go: finding github.com/hashicorp/go-getter v1.2.0
go: downloading github.com/hashicorp/go-getter v1.2.0
go: extracting github.com/hashicorp/go-getter v1.2.0
go: finding gopkg.in/asn1-ber.v1 latest
go: downloading gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
go: extracting gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
go: finding golang.org/x/sys v0.0.0-20181213200352-4d1cda033e06
go: finding github.com/mattn/go-runewidth v0.0.4
go: finding github.com/fatih/color v1.7.0
go: finding github.com/ulikunitz/xz v0.5.5
go: finding github.com/hashicorp/go-safetemp v1.0.0
go: finding github.com/aws/aws-sdk-go v1.15.78
go: finding github.com/hashicorp/go-version v1.1.0
go: finding github.com/mattn/go-isatty v0.0.4
go: finding github.com/hashicorp/go-cleanhttp v0.5.0
go: finding google.golang.org/api v0.1.0
go: finding github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: finding golang.org/x/net v0.0.0-20181114220301-adae6a3d119a
go: finding github.com/cheggaaa/pb v1.0.27
go: finding cloud.google.com/go v0.36.0
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding gopkg.in/cheggaaa/pb.v1 v1.0.27
go: finding github.com/mitchellh/go-homedir v1.0.0
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/googleapis/gax-go/v2 v2.0.3
go: finding github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57
go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3
go: finding golang.org/x/time v0.0.0-20181108054448-85acf8d2951c
go: finding google.golang.org/grpc v1.17.0
go: finding golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
go: finding github.com/google/martian v2.1.0+incompatible
go: finding golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
go: finding google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922
go: finding github.com/client9/misspell v0.3.4
go: finding golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b
go: finding cloud.google.com/go v0.26.0
go: finding honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a
go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d
go: finding google.golang.org/appengine v1.1.0
go: finding github.com/kisielk/gotool v1.0.0
go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858
go: finding google.golang.org/grpc v1.16.0
go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c
go: finding github.com/golang/lint v0.0.0-20180702182130-06c8688daad7
go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522
go: finding go.opencensus.io v0.18.0
go: finding google.golang.org/appengine v1.3.0
go: finding github.com/golang/mock v1.1.1
go: finding golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
go: finding golang.org/x/lint v0.0.0-20180702182130-06c8688daad7
go: finding github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e
go: finding google.golang.org/grpc v1.14.0
go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225
go: finding github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
go: finding github.com/openzipkin/zipkin-go v0.1.1
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: finding google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898
go: finding google.golang.org/genproto v0.0.0-20180831171423-11092d34479b
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding github.com/grpc-ecosystem/grpc-gateway v1.5.0
go: finding golang.org/x/exp v0.0.0-20190121172915-509febef88a4
go: finding github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273
go: finding golang.org/x/net v0.0.0-20181106065722-10aee1819953
go: finding github.com/ghodss/yaml v1.0.0
go: finding github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: finding google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf
go: finding github.com/prometheus/client_golang v0.8.0
go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
go: finding cloud.google.com/go v0.31.0
go: finding github.com/gliderlabs/ssh v0.1.1
go: finding golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: finding github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95
go: finding github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48
go: finding github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2
go: finding go4.org v0.0.0-20180809161055-417644f6feb5
go: finding github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab
go: finding golang.org/x/net v0.0.0-20181029044818-c44066c5c816
go: finding github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625
go: finding sourcegraph.com/sourcegraph/go-diff v0.5.0
go: finding golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16
go: finding github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86
go: finding github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b
go: finding github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d
go: finding github.com/kr/pty v1.1.3
go: finding github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9
go: finding github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c
go: finding github.com/microcosm-cc/bluemonday v1.0.1
go: finding dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3
go: finding github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1
go: finding golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4
go: finding github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d
go: finding golang.org/x/sys v0.0.0-20181029174526-d69651ed3497
go: finding github.com/google/go-github v17.0.0+incompatible
go: finding github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20
go: finding github.com/gogo/protobuf v1.1.1
go: finding github.com/davecgh/go-spew v1.1.1
go: finding github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9
go: finding github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: finding github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133
go: finding github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241
go: finding gopkg.in/inf.v0 v0.9.1
go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
go: finding github.com/stretchr/testify v1.2.2
go: finding github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
go: finding github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470
go: finding golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852
go: finding github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
go: finding google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2
go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
go: finding github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d
go: finding github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4
go: finding github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e
go: finding github.com/googleapis/gax-go v2.0.0+incompatible
go: finding github.com/google/go-querystring v1.0.0
go: finding github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50
go: finding github.com/russross/blackfriday v1.5.2
go: finding dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412
go: finding google.golang.org/api v0.0.0-20181030000543-1d582fd0359e
go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041
go: finding github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
go: finding github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191
go: finding github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc
go: finding github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537
go: finding github.com/kr/pretty v0.1.0
go: finding dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0
go: finding google.golang.org/appengine v1.2.0
go: finding github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122
go: finding github.com/sergi/go-diff v1.0.0
go: finding dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c
go: finding github.com/kr/text v0.1.0
go: finding github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82
go: finding github.com/kr/pty v1.1.1
go: finding grpc.go4.org v0.0.0-20170609214715-11d0a25b4919
go: downloading github.com/russross/blackfriday v1.5.2
go: extracting github.com/russross/blackfriday v1.5.2
go: downloading golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
go: downloading github.com/aws/aws-sdk-go v1.15.78
go: downloading github.com/mitchellh/go-homedir v1.0.0
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: extracting github.com/mitchellh/go-testing-interface v1.0.0
go: extracting github.com/mitchellh/go-homedir v1.0.0
go: extracting github.com/hashicorp/go-safetemp v1.0.0
go: downloading google.golang.org/api v0.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.0
go: extracting github.com/hashicorp/go-cleanhttp v0.5.0
go: downloading github.com/ulikunitz/xz v0.5.5
go: extracting github.com/ulikunitz/xz v0.5.5
go: extracting golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
go: downloading cloud.google.com/go v0.36.0
go: downloading github.com/hashicorp/go-version v1.1.0
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting github.com/hashicorp/go-version v1.1.0
go: extracting github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting cloud.google.com/go v0.36.0
go: downloading google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922
go: downloading github.com/googleapis/gax-go v2.0.0+incompatible
go: extracting github.com/googleapis/gax-go v2.0.0+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.3
go: extracting github.com/googleapis/gax-go/v2 v2.0.3
go: downloading google.golang.org/grpc v1.17.0
go: extracting google.golang.org/grpc v1.17.0
go: extracting github.com/aws/aws-sdk-go v1.15.78
go: downloading go.opencensus.io v0.18.0
go: downloading github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: downloading github.com/golang/protobuf v1.2.0
go: extracting google.golang.org/api v0.1.0
go: extracting go.opencensus.io v0.18.0
go: extracting github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: extracting github.com/golang/protobuf v1.2.0
go: extracting google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922
go: downloading golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
go: extracting golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
# caddy
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0x6785eb, 0x16)
    /usr/local/go/src/runtime/panic.go:617 +0x72
runtime.sysMap(0xc014000000, 0x4000000, 0x85a7b8)
    /usr/local/go/src/runtime/mem_linux.go:170 +0xc7
runtime.(*mheap).sysAlloc(0x842d00, 0x2000, 0x842d10, 0x1)
    /usr/local/go/src/runtime/malloc.go:633 +0x1cd
runtime.(*mheap).grow(0x842d00, 0x1, 0x0)
    /usr/local/go/src/runtime/mheap.go:1232 +0x42
runtime.(*mheap).allocSpanLocked(0x842d00, 0x1, 0x85a7c8, 0x7f7ef0d8c608)
    /usr/local/go/src/runtime/mheap.go:1150 +0x3a7
runtime.(*mheap).alloc_m(0x842d00, 0x1, 0x450008, 0x7f7ef0d8c608)
    /usr/local/go/src/runtime/mheap.go:977 +0xc2
runtime.(*mheap).alloc.func1()
    /usr/local/go/src/runtime/mheap.go:1048 +0x4c
runtime.systemstack(0x0)
    /usr/local/go/src/runtime/asm_amd64.s:351 +0x66
runtime.mstart()
    /usr/local/go/src/runtime/proc.go:1153

goroutine 1 [running]:
runtime.systemstack_switch()
    /usr/local/go/src/runtime/asm_amd64.s:311 fp=0xc0133cce80 sp=0xc0133cce78 pc=0x4553d0
runtime.(*mheap).alloc(0x842d00, 0x1, 0x10008, 0x411700)
    /usr/local/go/src/runtime/mheap.go:1047 +0x8a fp=0xc0133cced0 sp=0xc0133cce80 pc=0x423c7a
runtime.(*mcentral).grow(0x843280, 0x0)
    /usr/local/go/src/runtime/mcentral.go:256 +0x95 fp=0xc0133ccf18 sp=0xc0133cced0 pc=0x416bb5
runtime.(*mcentral).cacheSpan(0x843280, 0x28)
    /usr/local/go/src/runtime/mcentral.go:106 +0x2ff fp=0xc0133ccf78 sp=0xc0133ccf18 pc=0x4166bf
runtime.(*mcache).refill(0x7f7ef3b91008, 0x8)
    /usr/local/go/src/runtime/mcache.go:135 +0x86 fp=0xc0133ccf98 sp=0xc0133ccf78 pc=0x416156
runtime.(*mcache).nextFree(0x7f7ef3b91008, 0x8, 0x28, 0x6508a0, 0xc0133cd0a8)
    /usr/local/go/src/runtime/malloc.go:786 +0x88 fp=0xc0133ccfd0 sp=0xc0133ccf98 pc=0x40b178
runtime.mallocgc(0x30, 0x6508a0, 0x1, 0xc013ffffb0)
    /usr/local/go/src/runtime/malloc.go:939 +0x76e fp=0xc0133cd070 sp=0xc0133ccfd0 pc=0x40ba8e
runtime.newobject(0x6508a0, 0xc013ffffb0)
    /usr/local/go/src/runtime/malloc.go:1068 +0x38 fp=0xc0133cd0a0 sp=0xc0133cd070 pc=0x40be98
cmd/link/internal/ld.newattr(...)
    /usr/local/go/src/cmd/link/internal/ld/dwarf.go:121
cmd/link/internal/ld.copychildrenexcept(0xc00069a000, 0xc0128441b0, 0xc01280bda0, 0x0)
    /usr/local/go/src/cmd/link/internal/ld/dwarf.go:624 +0x136 fp=0xc0133cd118 sp=0xc0133cd0a0 pc=0x562ea6
cmd/link/internal/ld.copychildren(...)
    /usr/local/go/src/cmd/link/internal/ld/dwarf.go:633
cmd/link/internal/ld.synthesizeslicetypes(0xc00069a000, 0xc013f73a40)
    /usr/local/go/src/cmd/link/internal/ld/dwarf.go:687 +0xa6 fp=0xc0133cd158 sp=0xc0133cd118 pc=0x563446
cmd/link/internal/ld.dwarfGenerateDebugInfo(0xc00069a000)
    /usr/local/go/src/cmd/link/internal/ld/dwarf.go:1821 +0x1534 fp=0xc0133cd3a0 sp=0xc0133cd158 pc=0x56ce94
cmd/link/internal/ld.Main(0x82ed20, 0x10, 0x20, 0x1, 0x7, 0x10, 0x67a410, 0x1b, 0x676fe9, 0x14, ...)
    /usr/local/go/src/cmd/link/internal/ld/main.go:211 +0xb95 fp=0xc0133cd510 sp=0xc0133cd3a0 pc=0x59a625
main.main()
    /usr/local/go/src/cmd/link/main.go:65 +0x1d0 fp=0xc0133cdf98 sp=0xc0133cd510 pc=0x5fd6b0
runtime.main()
    /usr/local/go/src/runtime/proc.go:200 +0x20c fp=0xc0133cdfe0 sp=0xc0133cdf98 pc=0x42ce0c
runtime.goexit()
    /usr/local/go/src/runtime/asm_amd64.s:1337 +0x1 fp=0xc0133cdfe8 sp=0xc0133cdfe0 pc=0x457321
error at 'building caddy'
The command '/bin/sh -c VERSION=${version} PLUGINS=${plugins} /bin/sh /usr/bin/builder.sh' returned a non-zero code: 1
root@debian:~/docker#
abiosoft commented 5 years ago

Looks like your docker host has too little RAM. As a side note, not all plugins are building successfully with Caddy 1.0 yet

ghost commented 5 years ago

@abiosoft At that time, my host had 1GB of memory. And I installed caddy with reauth plugin without docker, it is built successfully and working.

ghost commented 4 years ago

It seems that if I close other programs, the build will succeed.

root@debian:~/docker# docker-compose build caddy
Building caddy
Step 1/24 : FROM abiosoft/caddy:builder as builder
 ---> 01e4c36185ca
Step 2/24 : ARG version="1.0.3"
 ---> Using cache
 ---> 037cae10d13b
Step 3/24 : ARG plugins="git,cors,realip,expires,cache,cloudflare"
 ---> Using cache
 ---> fd153789395f
Step 4/24 : ARG enable_telemetry="true"
 ---> Using cache
 ---> 9fa8cf01b7e9
Step 5/24 : RUN go get -v github.com/abiosoft/parent
 ---> Running in b3ee248c13e1
github.com/abiosoft/parent (download)
github.com/abiosoft/parent
Removing intermediate container b3ee248c13e1
 ---> 6443213462e9
Step 6/24 : RUN VERSION=${version} PLUGINS=${plugins} ENABLE_TELEMETRY=${enable_telemetry} /bin/sh /usr/bin/builder.sh
 ---> Running in 250da679cab4
Cloning into '/go/src/github.com/caddyserver/caddy'...

starting stage: fetching caddy source
Note: checking out 'bff2469d9d76ba5924f6d9affcf60bf44dcfa06c'.

You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by performing another checkout.

If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -b with the checkout command again. Example:

  git checkout -b <new-branch-name>

finished stage: fetching caddy source ✓

starting stage: installing plugin helper
go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
    ignoring go.mod;
    see 'go help modules'
github.com/abiosoft/caddyplug (download)
github.com/abiosoft/errs (download)
github.com/fatih/color (download)
Fetching https://golang.org/x/sys/unix?go-get=1
Parsing meta tags from https://golang.org/x/sys/unix?go-get=1 (status code 200)
get "golang.org/x/sys/unix": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys/unix?go-get=1
get "golang.org/x/sys/unix": verifying non-authoritative meta tag
Fetching https://golang.org/x/sys?go-get=1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
golang.org/x/sys (download)
github.com/abiosoft/errs
github.com/abiosoft/caddyplug/internal
github.com/fatih/color/vendor/github.com/mattn/go-isatty
github.com/fatih/color/vendor/github.com/mattn/go-colorable
golang.org/x/sys/unix
github.com/fatih/color
github.com/abiosoft/caddyplug/caddyplug
finished stage: installing plugin helper ✓

starting stage: fetching dns plugin sources
Cloning into '/dnsproviders'...
finished stage: fetching dns plugin sources ✓

starting stage: generating plugins
finished stage: generating plugins ✓

starting stage: customising plugins and telemetry
go: creating new go.mod: module caddy
go: finding github.com/caddyserver/caddy v1.0.3
Fetching https://golang.org/x/net?go-get=1
go: finding github.com/hashicorp/go-syslog v1.0.0
go: finding github.com/naoina/toml v0.1.1
go: finding github.com/klauspost/cpuid v1.2.0
go: finding github.com/gorilla/websocket v1.4.0
go: finding github.com/google/uuid v1.1.1
go: finding github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: finding github.com/naoina/go-stringutil v0.1.0
go: finding github.com/russross/blackfriday v0.0.0-20170610170232-067529f716f4
go: finding github.com/dustin/go-humanize v1.0.0
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
get "golang.org/x/net": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net?go-get=1
go: finding golang.org/x/net v0.0.0-20190328230028-74de082e2cca
go: finding github.com/BurntSushi/toml v0.3.1
go: finding github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2
Fetching https://gopkg.in/mcuadros/go-syslog.v2?go-get=1
Fetching https://gopkg.in/natefinch/lumberjack.v2?go-get=1
go: finding github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: finding github.com/go-acme/lego v2.5.0+incompatible
Fetching https://gopkg.in/yaml.v2?go-get=1
go: finding github.com/lucas-clemente/quic-go v0.10.2
go: finding github.com/kylelemons/godebug v0.0.0-20170820004349-d65d576e9348
Parsing meta tags from https://gopkg.in/mcuadros/go-syslog.v2?go-get=1 (status code 200)
get "gopkg.in/mcuadros/go-syslog.v2": found meta tag get.metaImport{Prefix:"gopkg.in/mcuadros/go-syslog.v2", VCS:"git", RepoRoot:"https://gopkg.in/mcuadros/go-syslog.v2"} at https://gopkg.in/mcuadros/go-syslog.v2?go-get=1
go: finding gopkg.in/mcuadros/go-syslog.v2 v2.2.1
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
go: finding gopkg.in/yaml.v2 v2.2.2
Parsing meta tags from https://gopkg.in/natefinch/lumberjack.v2?go-get=1 (status code 200)
get "gopkg.in/natefinch/lumberjack.v2": found meta tag get.metaImport{Prefix:"gopkg.in/natefinch/lumberjack.v2", VCS:"git", RepoRoot:"https://gopkg.in/natefinch/lumberjack.v2"} at https://gopkg.in/natefinch/lumberjack.v2?go-get=1
go: finding gopkg.in/natefinch/lumberjack.v2 v2.0.0
Fetching https://golang.org/x/crypto?go-get=1
Fetching https://golang.org/x/sync?go-get=1
Fetching https://gopkg.in/square/go-jose.v2?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
get "golang.org/x/crypto": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto?go-get=1
go: finding golang.org/x/crypto v0.0.0-20190123085648-057139ce5d2b
Parsing meta tags from https://golang.org/x/sync?go-get=1 (status code 200)
get "golang.org/x/sync": found meta tag get.metaImport{Prefix:"golang.org/x/sync", VCS:"git", RepoRoot:"https://go.googlesource.com/sync"} at https://golang.org/x/sync?go-get=1
go: finding golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4
Parsing meta tags from https://gopkg.in/square/go-jose.v2?go-get=1 (status code 200)
get "gopkg.in/square/go-jose.v2": found meta tag get.metaImport{Prefix:"gopkg.in/square/go-jose.v2", VCS:"git", RepoRoot:"https://gopkg.in/square/go-jose.v2"} at https://gopkg.in/square/go-jose.v2?go-get=1
Fetching https://golang.org/x/text?go-get=1
go: finding gopkg.in/square/go-jose.v2 v2.2.2
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
get "golang.org/x/text": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text?go-get=1
go: finding golang.org/x/text v0.3.0
go: finding github.com/lucas-clemente/quic-clients v0.1.0
go: finding golang.org/x/net v0.0.0-20190125091013-d26f9f9a57f3
go: finding github.com/marten-seemann/qtls v0.2.3
go: finding golang.org/x/crypto v0.0.0-20190228161510-8dd112bcdc25
go: finding github.com/golang/mock v1.2.0
go: finding github.com/miekg/dns v1.1.3
go: finding github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: finding github.com/onsi/gomega v1.5.0
go: finding github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: finding github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: finding golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
Fetching https://golang.org/x/sys?go-get=1
go: finding github.com/cenkalti/backoff v2.1.1+incompatible
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
get "golang.org/x/sys": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys?go-get=1
go: finding golang.org/x/sys v0.0.0-20190124100055-b90733256f2e
go: finding golang.org/x/net v0.0.0-20180906233101-161cd47e91fd
go: finding golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a
go: finding golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
go: finding github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
Fetching https://gopkg.in/tomb.v1?go-get=1
Fetching https://gopkg.in/check.v1?go-get=1
Parsing meta tags from https://gopkg.in/tomb.v1?go-get=1 (status code 200)
get "gopkg.in/tomb.v1": found meta tag get.metaImport{Prefix:"gopkg.in/tomb.v1", VCS:"git", RepoRoot:"https://gopkg.in/tomb.v1"} at https://gopkg.in/tomb.v1?go-get=1
go: finding gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7
Parsing meta tags from https://gopkg.in/check.v1?go-get=1 (status code 200)
get "gopkg.in/check.v1": found meta tag get.metaImport{Prefix:"gopkg.in/check.v1", VCS:"git", RepoRoot:"https://gopkg.in/check.v1"} at https://gopkg.in/check.v1?go-get=1
go: finding gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405
go: finding golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f
go: finding golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e
go: finding github.com/fsnotify/fsnotify v1.4.7
go: finding gopkg.in/yaml.v2 v2.2.1
go: finding github.com/stretchr/testify v1.3.0
go: finding github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: finding github.com/stretchr/objx v0.1.0
go: finding github.com/pmezard/go-difflib v1.0.0
go: finding github.com/davecgh/go-spew v1.1.0
go: finding github.com/golang/protobuf v1.2.0
go: finding github.com/onsi/ginkgo v1.6.0
Fetching https://gopkg.in/fsnotify.v1?go-get=1
go: finding github.com/onsi/ginkgo v1.8.0
go: finding github.com/hpcloud/tail v1.0.0
Parsing meta tags from https://gopkg.in/fsnotify.v1?go-get=1 (status code 200)
get "gopkg.in/fsnotify.v1": found meta tag get.metaImport{Prefix:"gopkg.in/fsnotify.v1", VCS:"git", RepoRoot:"https://gopkg.in/fsnotify.v1"} at https://gopkg.in/fsnotify.v1?go-get=1
go: finding gopkg.in/fsnotify.v1 v1.4.7
go: downloading github.com/caddyserver/caddy v1.0.3
go: extracting github.com/caddyserver/caddy v1.0.3
go: downloading github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: downloading github.com/google/uuid v1.1.1
go: downloading github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2
go: extracting github.com/flynn/go-shlex v0.0.0-20150515145356-3f9db97f8568
go: extracting github.com/google/uuid v1.1.1
go: extracting github.com/mholt/certmagic v0.6.2-0.20190624175158-6a42ef9fe8c2
go: downloading github.com/go-acme/lego v2.5.0+incompatible
go: downloading golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: downloading github.com/klauspost/cpuid v1.2.0
go: extracting github.com/klauspost/cpuid v1.2.0
go: extracting golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2
go: extracting github.com/go-acme/lego v2.5.0+incompatible
go: downloading github.com/cenkalti/backoff v2.1.1+incompatible
go: downloading gopkg.in/square/go-jose.v2 v2.2.2
go: downloading github.com/miekg/dns v1.1.3
go: downloading golang.org/x/net v0.0.0-20190328230028-74de082e2cca
go: extracting github.com/cenkalti/backoff v2.1.1+incompatible
go: extracting gopkg.in/square/go-jose.v2 v2.2.2
go: extracting golang.org/x/net v0.0.0-20190328230028-74de082e2cca
go: downloading golang.org/x/text v0.3.0
go: extracting github.com/miekg/dns v1.1.3
go: downloading golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
go: extracting golang.org/x/sys v0.0.0-20190228124157-a34e9553db1e
go: extracting golang.org/x/text v0.3.0
github.com/caddyserver/caddy/caddyfile
github.com/google/uuid
github.com/caddyserver/caddy/telemetry
github.com/flynn/go-shlex
github.com/go-acme/lego/acme
golang.org/x/crypto/ocsp
github.com/cenkalti/backoff
github.com/go-acme/lego/acme/api/internal/sender
github.com/go-acme/lego/certcrypto
github.com/go-acme/lego/acme/api/internal/nonces
golang.org/x/crypto/ed25519/internal/edwards25519
golang.org/x/crypto/pbkdf2
gopkg.in/square/go-jose.v2/cipher
gopkg.in/square/go-jose.v2/json
golang.org/x/crypto/ed25519
github.com/go-acme/lego/log
github.com/go-acme/lego/challenge
github.com/go-acme/lego/platform/wait
golang.org/x/text/transform
golang.org/x/text/unicode/bidi
gopkg.in/square/go-jose.v2
golang.org/x/text/secure/bidirule
golang.org/x/text/unicode/norm
github.com/go-acme/lego/acme/api/internal/secure
golang.org/x/net/idna
github.com/go-acme/lego/acme/api
github.com/go-acme/lego/challenge/http01
github.com/go-acme/lego/challenge/tlsalpn01
github.com/go-acme/lego/certificate
golang.org/x/net/bpf
golang.org/x/net/internal/iana
golang.org/x/net/internal/socket
golang.org/x/sys/unix
golang.org/x/net/ipv4
golang.org/x/net/ipv6
github.com/go-acme/lego/registration
github.com/miekg/dns
github.com/klauspost/cpuid
github.com/go-acme/lego/challenge/dns01
github.com/go-acme/lego/challenge/resolver
github.com/go-acme/lego/lego
github.com/mholt/certmagic
github.com/caddyserver/caddy
go: finding github.com/nicolasazrak/caddy-cache v0.3.4
go: finding github.com/captncraig/caddy-realip latest
go: finding github.com/hacdias/caddy-minify v1.0.2
go: finding github.com/pyed/ipfilter v1.1.4
go: finding github.com/freman/caddy-reauth latest
go: finding github.com/captncraig/cors/caddy latest
go: finding github.com/abiosoft/caddy-git latest
go: finding github.com/echocat/caddy-filter v0.14.0
go: finding github.com/epicagency/caddy-expires v1.1.1
go: downloading github.com/captncraig/caddy-realip v0.0.0-20190710144553-6df827e22ab8
go: extracting github.com/captncraig/caddy-realip v0.0.0-20190710144553-6df827e22ab8
go: finding github.com/captncraig/cors latest
go: downloading github.com/hacdias/caddy-minify v1.0.2
go: downloading github.com/captncraig/cors v0.0.0-20190703115713-e80254a89df1
go: extracting github.com/captncraig/cors v0.0.0-20190703115713-e80254a89df1
go: extracting github.com/hacdias/caddy-minify v1.0.2
go: downloading github.com/epicagency/caddy-expires v1.1.1
go: downloading github.com/abiosoft/caddy-git v0.0.0-20190703061829-f8cc2f20c9e7
go: extracting github.com/epicagency/caddy-expires v1.1.1
go: downloading github.com/echocat/caddy-filter v0.14.0
go: downloading github.com/freman/caddy-reauth v0.0.0-20190703021030-0863eef919a2
go: extracting github.com/abiosoft/caddy-git v0.0.0-20190703061829-f8cc2f20c9e7
go: extracting github.com/echocat/caddy-filter v0.14.0
go: extracting github.com/freman/caddy-reauth v0.0.0-20190703021030-0863eef919a2
go: downloading github.com/nicolasazrak/caddy-cache v0.3.4
go: downloading github.com/pyed/ipfilter v1.1.4
go: extracting github.com/pyed/ipfilter v1.1.4
go: extracting github.com/nicolasazrak/caddy-cache v0.3.4
go: finding github.com/davecgh/go-spew v1.1.1
Fetching https://golang.org/x/sys?go-get=1
go: finding github.com/caddyserver/caddy v1.0.1
Fetching https://gopkg.in/ldap.v2?go-get=1
go: finding github.com/oschwald/maxminddb-golang v1.3.0
go: finding github.com/tdewolff/minify/v2 v2.4.0
go: finding github.com/dgrijalva/jwt-go v3.2.0+incompatible
go: finding github.com/allegro/bigcache v1.2.1
go: finding github.com/echocat/gocheck-addons v0.0.0-20170127185256-3597b4964e95
go: finding github.com/pkg/errors v0.8.1
Parsing meta tags from https://golang.org/x/sys?go-get=1 (status code 200)
get "golang.org/x/sys": found meta tag get.metaImport{Prefix:"golang.org/x/sys", VCS:"git", RepoRoot:"https://go.googlesource.com/sys"} at https://golang.org/x/sys?go-get=1
go: finding golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862
go: finding github.com/hashicorp/go-getter v1.3.0
Parsing meta tags from https://gopkg.in/ldap.v2?go-get=1 (status code 200)
get "gopkg.in/ldap.v2": found meta tag get.metaImport{Prefix:"gopkg.in/ldap.v2", VCS:"git", RepoRoot:"https://gopkg.in/ldap.v2"} at https://gopkg.in/ldap.v2?go-get=1
go: finding gopkg.in/ldap.v2 v2.5.1
go: finding github.com/NYTimes/gziphandler v1.1.1
Fetching https://gopkg.in/asn1-ber.v1?go-get=1
Parsing meta tags from https://gopkg.in/asn1-ber.v1?go-get=1 (status code 200)
get "gopkg.in/asn1-ber.v1": found meta tag get.metaImport{Prefix:"gopkg.in/asn1-ber.v1", VCS:"git", RepoRoot:"https://gopkg.in/asn1-ber.v1"} at https://gopkg.in/asn1-ber.v1?go-get=1
go: finding gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
Fetching https://cloud.google.com/go?go-get=1
go: finding github.com/fatih/color v1.7.0
go: finding github.com/mitchellh/go-testing-interface v1.0.0
go: finding github.com/mattn/go-isatty v0.0.4
go: finding github.com/hashicorp/go-version v1.1.0
go: finding github.com/aws/aws-sdk-go v1.15.78
go: finding github.com/cheggaaa/pb v1.0.27
go: finding github.com/ulikunitz/xz v0.5.5
Parsing meta tags from https://cloud.google.com/go?go-get=1 (status code 200)
get "cloud.google.com/go": found meta tag get.metaImport{Prefix:"cloud.google.com/go", VCS:"git", RepoRoot:"https://code.googlesource.com/gocloud"} at https://cloud.google.com/go?go-get=1
go: finding cloud.google.com/go v0.36.0
go: finding golang.org/x/sys v0.0.0-20181213200352-4d1cda033e06
go: finding github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927
go: finding github.com/mattn/go-runewidth v0.0.4
go: finding github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: finding github.com/tdewolff/test v1.0.0
Fetching https://gopkg.in/cheggaaa/pb.v1?go-get=1
Fetching https://google.golang.org/api?go-get=1
go: finding github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
Parsing meta tags from https://gopkg.in/cheggaaa/pb.v1?go-get=1 (status code 200)
get "gopkg.in/cheggaaa/pb.v1": found meta tag get.metaImport{Prefix:"gopkg.in/cheggaaa/pb.v1", VCS:"git", RepoRoot:"https://gopkg.in/cheggaaa/pb.v1"} at https://gopkg.in/cheggaaa/pb.v1?go-get=1
go: finding gopkg.in/cheggaaa/pb.v1 v1.0.27
go: finding github.com/tdewolff/parse/v2 v2.3.6
Fetching https://golang.org/x/net?go-get=1
go: finding golang.org/x/sys v0.0.0-20181031143558-9b800f95dbbc
go: finding github.com/hashicorp/go-safetemp v1.0.0
go: finding github.com/hashicorp/go-cleanhttp v0.5.0
Parsing meta tags from https://golang.org/x/net?go-get=1 (status code 200)
get "golang.org/x/net": found meta tag get.metaImport{Prefix:"golang.org/x/net", VCS:"git", RepoRoot:"https://go.googlesource.com/net"} at https://golang.org/x/net?go-get=1
go: finding golang.org/x/net v0.0.0-20181114220301-adae6a3d119a
Parsing meta tags from https://google.golang.org/api?go-get=1 (status code 200)
get "google.golang.org/api": found meta tag get.metaImport{Prefix:"google.golang.org/api", VCS:"git", RepoRoot:"https://code.googlesource.com/google-api-go-client"} at https://google.golang.org/api?go-get=1
go: finding google.golang.org/api v0.1.0
go: finding github.com/mitchellh/go-homedir v1.0.0
go: finding github.com/mattn/go-colorable v0.0.9
go: finding github.com/spf13/pflag v1.0.3
Fetching https://golang.org/x/text?go-get=1
Fetching https://go.opencensus.io?go-get=1
Fetching https://golang.org/x/lint?go-get=1
go: finding github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c
go: finding github.com/google/go-cmp v0.2.0
go: finding github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57
go: finding github.com/googleapis/gax-go/v2 v2.0.3
Parsing meta tags from https://golang.org/x/text?go-get=1 (status code 200)
get "golang.org/x/text": found meta tag get.metaImport{Prefix:"golang.org/x/text", VCS:"git", RepoRoot:"https://go.googlesource.com/text"} at https://golang.org/x/text?go-get=1
go: finding golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
Parsing meta tags from https://golang.org/x/lint?go-get=1 (status code 200)
get "golang.org/x/lint": found meta tag get.metaImport{Prefix:"golang.org/x/lint", VCS:"git", RepoRoot:"https://go.googlesource.com/lint"} at https://golang.org/x/lint?go-get=1
go: finding golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3
Parsing meta tags from https://go.opencensus.io?go-get=1 (status code 200)
get "go.opencensus.io": found meta tag get.metaImport{Prefix:"go.opencensus.io", VCS:"git", RepoRoot:"https://github.com/census-instrumentation/opencensus-go"} at https://go.opencensus.io?go-get=1
go: finding go.opencensus.io v0.18.0
Fetching https://golang.org/x/tools?go-get=1
Parsing meta tags from https://golang.org/x/tools?go-get=1 (status code 200)
get "golang.org/x/tools": found meta tag get.metaImport{Prefix:"golang.org/x/tools", VCS:"git", RepoRoot:"https://go.googlesource.com/tools"} at https://golang.org/x/tools?go-get=1
go: finding golang.org/x/tools v0.0.0-20181030000716-a0a13e073c7b
go: finding github.com/google/martian v2.1.0+incompatible
Fetching https://honnef.co/go/tools?go-get=1
Fetching https://google.golang.org/grpc?go-get=1
Parsing meta tags from https://google.golang.org/grpc?go-get=1 (status code 200)
get "google.golang.org/grpc": found meta tag get.metaImport{Prefix:"google.golang.org/grpc", VCS:"git", RepoRoot:"https://github.com/grpc/grpc-go"} at https://google.golang.org/grpc?go-get=1
go: finding google.golang.org/grpc v1.16.0
go: finding google.golang.org/grpc v1.17.0
go: finding google.golang.org/grpc v1.14.0
go: finding github.com/grpc-ecosystem/grpc-gateway v1.5.0
Parsing meta tags from https://honnef.co/go/tools?go-get=1 (status code 200)
get "honnef.co/go/tools": found meta tag get.metaImport{Prefix:"honnef.co/go/tools", VCS:"git", RepoRoot:"https://github.com/dominikh/go-tools"} at https://honnef.co/go/tools?go-get=1
go: finding honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a
go: finding github.com/openzipkin/zipkin-go v0.1.1
go: finding google.golang.org/api v0.0.0-20180910000450-7ca32eb868bf
Fetching https://google.golang.org/genproto?go-get=1
Parsing meta tags from https://google.golang.org/genproto?go-get=1 (status code 200)
get "google.golang.org/genproto": found meta tag get.metaImport{Prefix:"google.golang.org/genproto", VCS:"git", RepoRoot:"https://github.com/google/go-genproto"} at https://google.golang.org/genproto?go-get=1
go: finding google.golang.org/genproto v0.0.0-20180831171423-11092d34479b
go: finding github.com/ghodss/yaml v1.0.0
go: finding golang.org/x/sys v0.0.0-20180830151530-49385e6e1522
go: finding google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8
go: finding github.com/golang/lint v0.0.0-20180702182130-06c8688daad7
go: finding github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973
Fetching https://golang.org/x/sync?go-get=1
Fetching https://google.golang.org/appengine?go-get=1
Parsing meta tags from https://golang.org/x/sync?go-get=1 (status code 200)
get "golang.org/x/sync": found meta tag get.metaImport{Prefix:"golang.org/x/sync", VCS:"git", RepoRoot:"https://go.googlesource.com/sync"} at https://golang.org/x/sync?go-get=1
go: finding golang.org/x/sync v0.0.0-20181108010431-42b317875d0f
Parsing meta tags from https://google.golang.org/appengine?go-get=1 (status code 200)
get "google.golang.org/appengine": found meta tag get.metaImport{Prefix:"google.golang.org/appengine", VCS:"git", RepoRoot:"https://github.com/golang/appengine"} at https://google.golang.org/appengine?go-get=1
go: finding google.golang.org/appengine v1.3.0
go: finding github.com/matttproud/golang_protobuf_extensions v1.0.1
go: finding google.golang.org/appengine v1.1.0
go: finding google.golang.org/genproto v0.0.0-20181202183823-bd91e49a0898
Fetching https://golang.org/x/oauth2?go-get=1
Parsing meta tags from https://golang.org/x/oauth2?go-get=1 (status code 200)
get "golang.org/x/oauth2": found meta tag get.metaImport{Prefix:"golang.org/x/oauth2", VCS:"git", RepoRoot:"https://go.googlesource.com/oauth2"} at https://golang.org/x/oauth2?go-get=1
go: finding golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
go: finding golang.org/x/net v0.0.0-20180826012351-8a410e7b638d
go: finding github.com/prometheus/common v0.0.0-20180801064454-c7de2306084e
Fetching https://golang.org/x/build?go-get=1
Parsing meta tags from https://golang.org/x/build?go-get=1 (status code 200)
get "golang.org/x/build": found meta tag get.metaImport{Prefix:"golang.org/x/build", VCS:"git", RepoRoot:"https://go.googlesource.com/build"} at https://golang.org/x/build?go-get=1
go: finding golang.org/x/build v0.0.0-20190111050920-041ab4dc3f9d
go: finding google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922
go: finding github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910
go: finding golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be
go: finding honnef.co/go/tools v0.0.0-20180728063816-88497007e858
go: finding github.com/client9/misspell v0.3.4
go: finding github.com/prometheus/procfs v0.0.0-20180725123919-05ee40e3a273
go: finding github.com/golang/mock v1.1.1
go: finding cloud.google.com/go v0.26.0
Fetching https://golang.org/x/time?go-get=1
go: finding golang.org/x/tools v0.0.0-20180828015842-6cd1fcedba52
go: finding git.apache.org/thrift.git v0.0.0-20180902110319-2566ecd5d999
go: finding github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b
Parsing meta tags from https://golang.org/x/time?go-get=1 (status code 200)
go: finding golang.org/x/net v0.0.0-20180724234803-3673e40ba225
get "golang.org/x/time": found meta tag get.metaImport{Prefix:"golang.org/x/time", VCS:"git", RepoRoot:"https://go.googlesource.com/time"} at https://golang.org/x/time?go-get=1
go: finding golang.org/x/time v0.0.0-20181108054448-85acf8d2951c
go: finding github.com/kisielk/gotool v1.0.0
go: finding github.com/prometheus/client_golang v0.8.0
go: finding golang.org/x/lint v0.0.0-20180702182130-06c8688daad7
go: finding github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: finding golang.org/x/net v0.0.0-20181106065722-10aee1819953
Fetching https://golang.org/x/exp?go-get=1
Parsing meta tags from https://golang.org/x/exp?go-get=1 (status code 200)
get "golang.org/x/exp": found meta tag get.metaImport{Prefix:"golang.org/x/exp", VCS:"git", RepoRoot:"https://go.googlesource.com/exp"} at https://golang.org/x/exp?go-get=1
go: finding golang.org/x/exp v0.0.0-20190121172915-509febef88a4
go: finding github.com/shurcooL/httperror v0.0.0-20170206035902-86b7830d14cc
go: finding google.golang.org/genproto v0.0.0-20181029155118-b69ba1387ce2
go: finding github.com/neelance/astrewrite v0.0.0-20160511093645-99348263ae86
Fetching https://dmitri.shuralyov.com/app/changes?go-get=1
go: finding github.com/google/go-querystring v1.0.0
Fetching https://golang.org/x/crypto?go-get=1
Parsing meta tags from https://golang.org/x/crypto?go-get=1 (status code 200)
get "golang.org/x/crypto": found meta tag get.metaImport{Prefix:"golang.org/x/crypto", VCS:"git", RepoRoot:"https://go.googlesource.com/crypto"} at https://golang.org/x/crypto?go-get=1
go: finding golang.org/x/crypto v0.0.0-20181030102418-4d3f4d9ffa16
go: finding github.com/shurcooL/highlight_go v0.0.0-20181028180052-98c3abbbae20
go: finding github.com/kr/pretty v0.1.0
Parsing meta tags from https://dmitri.shuralyov.com/app/changes?go-get=1 (status code 200)
get "dmitri.shuralyov.com/app/changes": found meta tag get.metaImport{Prefix:"dmitri.shuralyov.com/app/changes", VCS:"mod", RepoRoot:"https://dmitri.shuralyov.com/api/module"} at https://dmitri.shuralyov.com/app/changes?go-get=1
go: finding dmitri.shuralyov.com/app/changes v0.0.0-20180602232624-0a106ad413e3
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/app/changes/@v/v0.0.0-20180602232624-0a106ad413e3.info
go: finding github.com/shurcooL/gopherjslib v0.0.0-20160914041154-feb6d3990c2c
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/app/changes/@v/v0.0.0-20180602232624-0a106ad413e3.mod
go: finding github.com/shurcooL/webdavfs v0.0.0-20170829043945-18c3829fa133
go: finding github.com/sergi/go-diff v1.0.0
go: finding golang.org/x/sys v0.0.0-20181029174526-d69651ed3497
go: finding google.golang.org/api v0.0.0-20181030000543-1d582fd0359e
go: finding github.com/shurcooL/notifications v0.0.0-20181007000457-627ab5aea122
go: finding github.com/shurcooL/sanitized_anchor_name v0.0.0-20170918181015-86672fcb3f95
go: finding github.com/shurcooL/github_flavored_markdown v0.0.0-20181002035957-2122de532470
go: finding github.com/shurcooL/htmlg v0.0.0-20170918183704-d01228ac9e50
go: finding github.com/google/go-github v17.0.0+incompatible
go: finding golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2
go: finding github.com/shurcooL/issues v0.0.0-20181008053335-6292fdc1e191
go: finding github.com/gliderlabs/ssh v0.1.1
go: finding github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371
go: finding github.com/shurcooL/events v0.0.0-20181021180414-410e4ca65f48
go: finding github.com/shurcooL/highlight_diff v0.0.0-20170515013008-09bb4053de1b
go: finding github.com/shurcooL/home v0.0.0-20181020052607-80b7ffcb30f9
go: finding github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7
go: finding github.com/sourcegraph/annotate v0.0.0-20160123013949-f4cad6c6324d
go: finding github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239
go: finding github.com/jellevandenhooff/dkim v0.0.0-20150330215556-f50fe3d243e1
Fetching https://golang.org/x/perf?go-get=1
go: finding cloud.google.com/go v0.31.0
Parsing meta tags from https://golang.org/x/perf?go-get=1 (status code 200)
get "golang.org/x/perf": found meta tag get.metaImport{Prefix:"golang.org/x/perf", VCS:"git", RepoRoot:"https://go.googlesource.com/perf"} at https://golang.org/x/perf?go-get=1
go: finding golang.org/x/perf v0.0.0-20180704124530-6e6d33e29852
go: finding github.com/bradfitz/go-smtpd v0.0.0-20170404230938-deb6d6237625
go: finding github.com/shurcooL/gofontwoff v0.0.0-20180329035133-29b52fc0a18d
go: finding github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1
Fetching https://gopkg.in/inf.v0?go-get=1
Parsing meta tags from https://gopkg.in/inf.v0?go-get=1 (status code 200)
get "gopkg.in/inf.v0": found meta tag get.metaImport{Prefix:"gopkg.in/inf.v0", VCS:"git", RepoRoot:"https://gopkg.in/inf.v0"} at https://gopkg.in/inf.v0?go-get=1
go: finding gopkg.in/inf.v0 v0.9.1
Fetching https://dmitri.shuralyov.com/state?go-get=1
Parsing meta tags from https://dmitri.shuralyov.com/state?go-get=1 (status code 200)
get "dmitri.shuralyov.com/state": found meta tag get.metaImport{Prefix:"dmitri.shuralyov.com/state", VCS:"mod", RepoRoot:"https://dmitri.shuralyov.com/api/module"} at https://dmitri.shuralyov.com/state?go-get=1
go: finding dmitri.shuralyov.com/state v0.0.0-20180228185332-28bcc343414c
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/state/@v/v0.0.0-20180228185332-28bcc343414c.info
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/state/@v/v0.0.0-20180228185332-28bcc343414c.mod
go: finding github.com/neelance/sourcemap v0.0.0-20151028013722-8c68805598ab
go: finding github.com/shurcooL/octicon v0.0.0-20181028054416-fa4f57f9efb2
go: finding github.com/tarm/serial v0.0.0-20180830185346-98f6abe2eb07
go: finding github.com/microcosm-cc/bluemonday v1.0.1
Fetching https://dmitri.shuralyov.com/html/belt?go-get=1
Parsing meta tags from https://dmitri.shuralyov.com/html/belt?go-get=1 (status code 200)
get "dmitri.shuralyov.com/html/belt": found meta tag get.metaImport{Prefix:"dmitri.shuralyov.com/html/belt", VCS:"mod", RepoRoot:"https://dmitri.shuralyov.com/api/module"} at https://dmitri.shuralyov.com/html/belt?go-get=1
go: finding dmitri.shuralyov.com/html/belt v0.0.0-20180602232347-f7d459c86be0
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/html/belt/@v/v0.0.0-20180602232347-f7d459c86be0.info
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/html/belt/@v/v0.0.0-20180602232347-f7d459c86be0.mod
go: finding github.com/kr/text v0.1.0
go: finding github.com/shurcooL/issuesapp v0.0.0-20180602232740-048589ce2241
go: finding google.golang.org/appengine v1.2.0
go: finding github.com/shurcooL/reactions v0.0.0-20181006231557-f2e0b4ca5b82
Fetching https://grpc.go4.org?go-get=1
Fetching https://dmitri.shuralyov.com/service/change?go-get=1
Parsing meta tags from https://dmitri.shuralyov.com/service/change?go-get=1 (status code 200)
get "dmitri.shuralyov.com/service/change": found meta tag get.metaImport{Prefix:"dmitri.shuralyov.com/service/change", VCS:"mod", RepoRoot:"https://dmitri.shuralyov.com/api/module"} at https://dmitri.shuralyov.com/service/change?go-get=1
go: finding dmitri.shuralyov.com/service/change v0.0.0-20181023043359-a85b471d5412
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/service/change/@v/v0.0.0-20181023043359-a85b471d5412.info
Fetching https://dmitri.shuralyov.com/api/module/dmitri.shuralyov.com/service/change/@v/v0.0.0-20181023043359-a85b471d5412.mod
Parsing meta tags from https://grpc.go4.org?go-get=1 (status code 200)
get "grpc.go4.org": found meta tag get.metaImport{Prefix:"grpc.go4.org", VCS:"git", RepoRoot:"https://github.com/go4org/grpc"} at https://grpc.go4.org?go-get=1
go: finding github.com/stretchr/testify v1.2.2
go: finding grpc.go4.org v0.0.0-20170609214715-11d0a25b4919
go: finding golang.org/x/net v0.0.0-20181029044818-c44066c5c816
go: finding github.com/shurcooL/component v0.0.0-20170202220835-f88ec8f54cc4
go: finding github.com/kr/pty v1.1.1
Fetching https://sourcegraph.com/sourcegraph/go-diff?go-get=1
go: finding golang.org/x/oauth2 v0.0.0-20181017192945-9dcd33a902f4
go: finding github.com/russross/blackfriday v1.5.2
Parsing meta tags from https://sourcegraph.com/sourcegraph/go-diff?go-get=1 (status code 200)
get "sourcegraph.com/sourcegraph/go-diff": found meta tag get.metaImport{Prefix:"sourcegraph.com/sourcegraph/go-diff", VCS:"git", RepoRoot:"https://github.com/sourcegraph/go-diff"} at https://sourcegraph.com/sourcegraph/go-diff?go-get=1
go: finding sourcegraph.com/sourcegraph/go-diff v0.5.0
go: finding github.com/kr/pty v1.1.3
go: finding github.com/shurcooL/httpgzip v0.0.0-20180522190206-b1c53ac65af9
go: finding github.com/coreos/go-systemd v0.0.0-20181012123002-c6f51f82210d
go: finding github.com/googleapis/gax-go v2.0.0+incompatible
go: finding github.com/shurcooL/users v0.0.0-20180125191416-49c67e49c537
Fetching https://go4.org?go-get=1
go: finding github.com/sourcegraph/syntaxhighlight v0.0.0-20170531221838-bd320f5d308e
Fetching https://sourcegraph.com/sqs/pbtypes?go-get=1
go: finding github.com/shurcooL/go v0.0.0-20180423040247-9e1955d9fb6e
Parsing meta tags from https://sourcegraph.com/sqs/pbtypes?go-get=1 (status code 200)
get "sourcegraph.com/sqs/pbtypes": found meta tag get.metaImport{Prefix:"sourcegraph.com/sqs/pbtypes", VCS:"git", RepoRoot:"https://github.com/sqs/pbtypes"} at https://sourcegraph.com/sqs/pbtypes?go-get=1
go: finding sourcegraph.com/sqs/pbtypes v0.0.0-20180604144634-d3ebe8f20ae4
Parsing meta tags from https://go4.org?go-get=1 (status code 200)
get "go4.org": found meta tag get.metaImport{Prefix:"go4.org", VCS:"git", RepoRoot:"https://github.com/go4org/go4"} at https://go4.org?go-get=1
go: finding go4.org v0.0.0-20180809161055-417644f6feb5
go: finding github.com/shurcooL/go-goon v0.0.0-20170922171312-37c2f522c041
go: finding github.com/gogo/protobuf v1.1.1
go: downloading github.com/oschwald/maxminddb-golang v1.3.0
go: downloading github.com/tdewolff/minify/v2 v2.4.0
go: extracting github.com/oschwald/maxminddb-golang v1.3.0
go: downloading github.com/lucas-clemente/quic-go v0.10.2
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
Fetching https://gopkg.in/natefinch/lumberjack.v2?go-get=1
go: downloading github.com/russross/blackfriday v1.5.2
go: downloading github.com/hashicorp/go-syslog v1.0.0
go: extracting github.com/hashicorp/go-syslog v1.0.0
go: extracting github.com/russross/blackfriday v1.5.2
Parsing meta tags from https://gopkg.in/natefinch/lumberjack.v2?go-get=1 (status code 200)
get "gopkg.in/natefinch/lumberjack.v2": found meta tag get.metaImport{Prefix:"gopkg.in/natefinch/lumberjack.v2", VCS:"git", RepoRoot:"https://gopkg.in/natefinch/lumberjack.v2"} at https://gopkg.in/natefinch/lumberjack.v2?go-get=1
go: extracting gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: finding github.com/pquerna/cachecontrol/cacheobject latest
go: downloading github.com/hashicorp/go-getter v1.3.0
go: extracting github.com/hashicorp/go-getter v1.3.0
go: downloading github.com/aws/aws-sdk-go v1.15.78
go: extracting github.com/lucas-clemente/quic-go v0.10.2
go: finding github.com/pquerna/cachecontrol latest
go: downloading github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35
go: extracting github.com/pquerna/cachecontrol v0.0.0-20180517163645-1555304b9b35
go: downloading google.golang.org/api v0.1.0
go: extracting github.com/tdewolff/minify/v2 v2.4.0
go: downloading github.com/hashicorp/go-version v1.1.0
go: downloading github.com/tdewolff/parse/v2 v2.3.6
go: downloading cloud.google.com/go v0.36.0
go: downloading github.com/pkg/errors v0.8.1
go: downloading github.com/ulikunitz/xz v0.5.5
go: extracting github.com/hashicorp/go-version v1.1.0
go: downloading github.com/hashicorp/go-cleanhttp v0.5.0
go: extracting github.com/hashicorp/go-cleanhttp v0.5.0
go: extracting github.com/pkg/errors v0.8.1
go: extracting github.com/tdewolff/parse/v2 v2.3.6
go: downloading gopkg.in/yaml.v2 v2.2.2
Fetching https://gopkg.in/yaml.v2?go-get=1
go: downloading golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
go: downloading golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862
Parsing meta tags from https://gopkg.in/yaml.v2?go-get=1 (status code 200)
get "gopkg.in/yaml.v2": found meta tag get.metaImport{Prefix:"gopkg.in/yaml.v2", VCS:"git", RepoRoot:"https://gopkg.in/yaml.v2"} at https://gopkg.in/yaml.v2?go-get=1
go: extracting gopkg.in/yaml.v2 v2.2.2
go: extracting github.com/ulikunitz/xz v0.5.5
go: downloading github.com/mitchellh/go-testing-interface v1.0.0
go: extracting github.com/mitchellh/go-testing-interface v1.0.0
go: downloading github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: extracting github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: downloading github.com/hashicorp/go-safetemp v1.0.0
go: extracting github.com/hashicorp/go-safetemp v1.0.0
go: downloading github.com/mitchellh/go-homedir v1.0.0
go: extracting github.com/mitchellh/go-homedir v1.0.0
go: extracting golang.org/x/sys v0.0.0-20190509141414-a5b02f93d862
go: downloading github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: extracting github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: extracting cloud.google.com/go v0.36.0
go: downloading github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: extracting github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: downloading github.com/googleapis/gax-go v2.0.0+incompatible
go: extracting github.com/googleapis/gax-go v2.0.0+incompatible
go: downloading github.com/googleapis/gax-go/v2 v2.0.3
go: extracting github.com/googleapis/gax-go/v2 v2.0.3
go: downloading gopkg.in/ldap.v2 v2.5.1
go: extracting gopkg.in/ldap.v2 v2.5.1
go: downloading google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922
go: extracting golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2
go: extracting google.golang.org/genproto v0.0.0-20190201180003-4b09977fb922
go: downloading google.golang.org/grpc v1.17.0
go: downloading gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
go: extracting gopkg.in/asn1-ber.v1 v1.0.0-20181015200546-f715ec2f112d
go: downloading github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting github.com/bgentry/go-netrc v0.0.0-20140422174119-9fd32a8b3d3d
go: extracting google.golang.org/grpc v1.17.0
go: downloading github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: extracting github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: downloading github.com/golang/protobuf v1.2.0
go: extracting github.com/aws/aws-sdk-go v1.15.78
go: extracting github.com/golang/protobuf v1.2.0
go: downloading github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: extracting github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: downloading go.opencensus.io v0.18.0
go: downloading github.com/allegro/bigcache v1.2.1
go: downloading github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: extracting github.com/allegro/bigcache v1.2.1
go: extracting go.opencensus.io v0.18.0
go: extracting github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8
go: extracting google.golang.org/api v0.1.0
go: downloading golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
go: extracting golang.org/x/oauth2 v0.0.0-20181203162652-d668ce993890
finished stage: customising plugins and telemetry ✓

starting stage: building caddy
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/naoina/toml v0.1.1
go: downloading github.com/gorilla/websocket v1.4.0
go: downloading github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: extracting github.com/dustin/go-humanize v1.0.0
go: extracting github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: extracting github.com/naoina/toml v0.1.1
go: downloading github.com/naoina/go-stringutil v0.1.0
go: extracting github.com/gorilla/websocket v1.4.0
go: extracting github.com/naoina/go-stringutil v0.1.0
finished stage: building caddy ✓

starting stage: copying binary
Caddy v1.0.3 (h1:i9gRhBgvc5ifchwWtSe7pDpsdS9+Q0Rw9oYQmYUTw1w=)
finished stage: copying binary ✓

installed caddy version v1.0.3 at /install/caddy
Removing intermediate container 250da679cab4
 ---> 1f141b2095b8
Step 7/24 : FROM alpine:3.10
 ---> 961769676411
Step 8/24 : LABEL maintainer "Abiola Ibrahim <abiola89@gmail.com>"
 ---> Using cache
 ---> 008cb5f0c884
Step 9/24 : ARG version="1.0.3"
 ---> Using cache
 ---> e2b7dd5d178b
Step 10/24 : LABEL caddy_version="$version"
 ---> Using cache
 ---> 7595f9265a0c
Step 11/24 : ENV ACME_AGREE="false"
 ---> Using cache
 ---> d337fafcb5ad
Step 12/24 : ENV ENABLE_TELEMETRY="$enable_telemetry"
 ---> Using cache
 ---> 1d492b4763cb
Step 13/24 : RUN apk add --no-cache     ca-certificates     git     mailcap     openssh-client     tzdata
 ---> Using cache
 ---> 9d7a0655d277
Step 14/24 : COPY --from=builder /install/caddy /usr/bin/caddy
 ---> 0714811c2794
Step 15/24 : RUN /usr/bin/caddy -version
 ---> Running in 4b03a1c7d9d8
Caddy v1.0.3 (h1:i9gRhBgvc5ifchwWtSe7pDpsdS9+Q0Rw9oYQmYUTw1w=)
Removing intermediate container 4b03a1c7d9d8
 ---> 4e5dcda3c79c
Step 16/24 : RUN /usr/bin/caddy -plugins
 ---> Running in 590b865639f0
Server types:
  http

Caddyfile loaders:
  short
  flag
  default

Other plugins:
  http.basicauth
  http.bind
  http.browse
  http.cache
  http.cors
  http.errors
  http.expires
  http.expvar
  http.ext
  http.fastcgi
  http.filter
  http.git
  http.gzip
  http.header
  http.index
  http.internal
  http.ipfilter
  http.limits
  http.log
  http.markdown
  http.mime
  http.minify
  http.pprof
  http.proxy
  http.push
  http.realip
  http.reauth
  http.redir
  http.request_id
  http.rewrite
  http.root
  http.secrets
  http.status
  http.templates
  http.timeouts
  http.websocket
  on
  tls
  tls.cluster.file

Removing intermediate container 590b865639f0
 ---> ef4450a94eae
Step 17/24 : EXPOSE 80 443 2015
 ---> Running in 50ecbb3f59e8
Removing intermediate container 50ecbb3f59e8
 ---> 95a811920ed7
Step 18/24 : VOLUME /root/.caddy /srv
 ---> Running in 741da6d55594
Removing intermediate container 741da6d55594
 ---> c24be59e160c
Step 19/24 : WORKDIR /srv
 ---> Running in de0e51c2eb50
Removing intermediate container de0e51c2eb50
 ---> 1688de045587
Step 20/24 : COPY Caddyfile /etc/Caddyfile
 ---> 7d5af59257d9
Step 21/24 : COPY index.html /srv/index.html
 ---> 9921ca5031a5
Step 22/24 : COPY --from=builder /go/bin/parent /bin/parent
 ---> be8be7b5ae6b
Step 23/24 : ENTRYPOINT ["/bin/parent", "caddy"]
 ---> Running in 41d60259c023
Removing intermediate container 41d60259c023
 ---> 7960a1a60291
Step 24/24 : CMD ["--conf", "/etc/Caddyfile", "--log", "stdout", "--agree=$ACME_AGREE"]
 ---> Running in e7271e562ddd
Removing intermediate container e7271e562ddd
 ---> 5843ba0dc9fc
Successfully built 5843ba0dc9fc
Successfully tagged mycaddy:latest
root@debian:~/docker#