Building static binary with custom caddy module. #1905
Replies: 1 comment
-
|
Seems to me like the caddy-redis module still requires a redis module. You will have to bring this up over there, not here. Your general approach is correct. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi,
I'm trying to build a static binary using the docker image. Everything is working well except I'm missing a custom Redis Storage module for Redis when building the image.
I'm currently building and running the static binary like this:
docker buildx build \ --load \ --build-arg XCADDY_ARGS="--with github.com/dunglas/caddy-cbrotli --with github.com/pberkel/caddy-storage-redis" \ -t static-app \ -f static-build.Dockerfile .And the Dockerfile looks like this:
After completing the build and running the
./my-app php-serverI get the following error message:So apparently I'm using the
XCADDY_ARGSincorrectly. Can someone help me with how to set this up correctly?Beta Was this translation helpful? Give feedback.
All reactions