abiosoft / abiosoft/caddy-docker

Improvement: documentation for custom plugins

Aperta
#232 0 commenti 1 reazione 0 assegnatari Vedi su GitHub
Lingua principale
Shell
Stelle
787
Fork
303
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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?

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.