abiosoft / abiosoft/caddy-docker

Tag 1.0.3 fails to build in docker

未关闭
#233 1 条评论 3 个 reaction 已指派 0 人 在 GitHub 查看
主要语言
Shell
星标
787
派生
303
PR 合并指标
30 天内没有已合并 PR

描述

Trying to build "1.0.3" tag with plugins.

My composer file:
```yaml
services:
frontend:
build:
context: ./deps/caddy-docker/
dockerfile: Dockerfile-no-stats
args:
- plugins=locale,gzip
```

Error log:
```
github.com/mholt/certmagic
# github.com/mholt/certmagic
../certmagic/client.go:196:8: ht.ForceAttemptHTTP2 undefined (type *http.Transport has no field or method ForceAttemptHTTP2)
fetching missing dependencies: caddy, dnsproviders, hook.pluginloader
chdir /root/lib/caddy/gopath/src/github.com/caddyserver/caddy: no such file or directory
fetching missing dependencies: caddy, dnsproviders, hook.pluginloader
chdir /root/lib/caddy/gopath/src/github.com/caddyserver/caddy: no such file or directory
go get: warning: modules disabled by GO111MODULE=auto in GOPATH/src;
ignoring go.mod;
see 'go help modules'
github.com/mholt/certmagic
# github.com/mholt/certmagic
../certmagic/client.go:196:8: ht.ForceAttemptHTTP2 undefined (type *http.Transport has no field or method ForceAttemptHTTP2)
fetching missing dependencies: caddy, dnsproviders, hook.pluginloader
chdir /root/lib/caddy/gopath/src/github.com/caddyserver/caddy: no such file or directory
Cloning into '/go/src/github.com/caddyserver/builds'...
fatal: could not read Username for 'https://github.com': No such device or address
stat build.go: no such file or directory
```

I presume something has been changed in mholt/certmagic since 1.0.3 tag release (single or few submodules included by client.go?), but can't figure out where to fix it.

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。