Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Example build with plugins does not work #222

Closed
jaedle opened this issue Sep 21, 2019 · 4 comments
Closed

Example build with plugins does not work #222

jaedle opened this issue Sep 21, 2019 · 4 comments

Comments

@jaedle
Copy link

jaedle commented Sep 21, 2019

Building the example from the readme does not work.

docker build --no-cache --pull --build-arg \
    plugins=git,linode \
    github.com/abiosoft/caddy-docker.git

(I added the --no-cache and --pull flag to disable any kind of caching)

Error message:

go: finding github.com/timewasted/linode/dns latest
go: finding github.com/timewasted/linode latest
go: downloading github.com/timewasted/linode v0.0.0-20160829202747-37e84520dcf7
go: extracting github.com/timewasted/linode v0.0.0-20160829202747-37e84520dcf7
package caddy:
git.go:2:10: invalid import path: ""
finished stage: customising plugins and telemetry ✓


starting stage: building caddy
go: downloading gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: downloading github.com/gorilla/websocket v1.4.0
go: downloading github.com/dustin/go-humanize v1.0.0
go: downloading github.com/russross/blackfriday v0.0.0-20170610170232-067529f716f4
go: downloading github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: downloading github.com/naoina/toml v0.1.1
go: downloading gopkg.in/yaml.v2 v2.2.2
go: downloading github.com/hashicorp/go-syslog v1.0.0
go: downloading github.com/lucas-clemente/quic-go v0.10.2
go: extracting github.com/hashicorp/go-syslog v1.0.0
go: extracting github.com/gorilla/websocket v1.4.0
go: extracting github.com/dustin/go-humanize v1.0.0
go: extracting github.com/jimstudt/http-authentication v0.0.0-20140401203705-3eca13d6893a
go: extracting github.com/russross/blackfriday v0.0.0-20170610170232-067529f716f4
go: extracting github.com/naoina/toml v0.1.1
go: downloading github.com/naoina/go-stringutil v0.1.0
go: extracting github.com/naoina/go-stringutil v0.1.0
go: extracting github.com/lucas-clemente/quic-go v0.10.2
go: downloading github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: downloading github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: downloading github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: downloading github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: downloading github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: extracting github.com/hashicorp/golang-lru v0.0.0-20180201235237-0fb14efe8c47
go: extracting github.com/cheekybits/genny v0.0.0-20170328200008-9127e812e1e9
go: extracting github.com/lucas-clemente/aes12 v0.0.0-20171027163421-cd47fb39b79f
go: extracting github.com/bifurcation/mint v0.0.0-20180715133206-93c51c6ce115
go: extracting github.com/lucas-clemente/quic-go-certificates v0.0.0-20160823095156-d2f86524cced
go: extracting gopkg.in/natefinch/lumberjack.v2 v2.0.0
go: extracting gopkg.in/yaml.v2 v2.2.2
can't load package: package caddy:
git.go:2:10: invalid import path: ""
error at 'building caddy'
The command '/bin/sh -c VERSION=${version} PLUGINS=${plugins} ENABLE_TELEMETRY=${enable_telemetry} /bin/sh /usr/bin/builder.sh' returned a non-zero code: 1
@jaedle jaedle changed the title Example build does not work Example build with plugins does not work Sep 21, 2019
@tobiasmuehl
Copy link

This is the same error as in #220, #148. I also have this problem with the redis plugin

@PretentiousPotatoPeeler
Copy link

I'm also running into this issue. Is there any news of a workaround?

@sparampalli
Copy link

Please follow work-around suggested in - #223.

I ran into the same issue and able to fix it as per the suggested work-around.

@jaedle
Copy link
Author

jaedle commented Oct 21, 2019

Seems to be working again.

@jaedle jaedle closed this as completed Oct 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants