abiosoft / abiosoft/caddy-docker

Improvement: documentation for custom plugins

Open
#232 0 comments 1 reaction 0 assignees View on GitHub
Dominant language
Shell
Stars
787
Forks
303
PR merge metrics
No merged PRs in 30d

Description

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?

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.