abiosoft / abiosoft/caddy-docker

Improvement: documentation for custom plugins

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

描述

I was just trying to build caddy binary with a custom set of plugins, but got stuck with the `invalid import path ""` error.

Looks like most of us are trying to use the qualified name of the plugin instead of just the last part of it (https://github.com/abiosoft/caddy-docker/issues/108#issuecomment-385743567). I.e:

```
RUN VERSION="1.0.3" \
PLUGINS="http.prometheus" \
ENABLE_TELEMETRY="false" \
/bin/sh /usr/bin/builder.sh
```

Should actually be:

```
RUN VERSION="1.0.3" \
PLUGINS="prometheus" \
ENABLE_TELEMETRY="false" \
/bin/sh /usr/bin/builder.sh
```

Can we add something to the documentation to avoid this?

贡献指南

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

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

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