lucaslorentz / caddy-docker-proxy

Caddy as a reverse proxy for Docker
MIT License
3.07k stars 174 forks source link

Cannot compile #577

Closed shcorya closed 10 months ago

shcorya commented 10 months ago

I cannot compile my project because of github.com/google/pprof v0.0.0-20230207041349-798e818bf904 being present in go.mod. I have removed the line in a fork where I also changed the module name and it seems to work fine.

The project that won't compile without the changed go.mod is https://github.com/coryaent/lowery.

francislavoie commented 10 months ago

Your Dockerfile is kinda weird. Why not do it like this, as documented? https://github.com/lucaslorentz/caddy-docker-proxy#custom-images

shcorya commented 10 months ago

Yeah, looking at that, you're right that I've done something odd. I will try with the recommended method and close this issue if it's fixed.