Open test0103 opened 4 years ago
I don't know the exact reason for this error, but this project is using a very old version of caddy. Take a look at my fork here, which fixes this.
The abisoft/caddy docker has a plugin building problem, and it was discussed here:
Temporary fix: check import_package before writing
To work around it: in the Dockerfile delete most of the plugin and only leave cloudflare plugin, like this
ARG plugins="cloudflare"
. We are not using other plugin anyway, but the cloudflare plugin is necessary if you want to use cloudflare cdn with Let's encrypt certificate.
starting stage: building caddy caddymain/run.go:39:2: ../caddyhttp/cache.go:2:10: invalid import path: "" error at 'building caddy' The command '/bin/sh -c VERSION=${version} PLUGINS=${plugins} ENABLE_TELEMETRY=false /bin/sh /usr/bin/builder.sh' returned a non-zero code: 1
有人遇见过吗?应该如何解决?