-
-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
caddy --version unknown #2875
Comments
|
The variable Lines 290 to 309 in cc63eca
|
|
Yeah, and the step-by-step instructions (there are only like 3 steps) to build Caddy with version information are in the readme: https://github.com/caddyserver/caddy#build |
|
caddy_v1.0.4_linux_386.tar.gz is still affected |
|
Same issue seems to be happening with the current FROM python:3.8.18-alpine3.18
RUN apk update && apk add caddyBuild it with $ docker run --rm test-caddy:0.0.1 caddy version
unknown(although the version can still be figured out from the package with |
This issue is 4 years old and isn't applicable anymore. It was reported for Caddy v1. The Alpine distribution of Caddy reports the version as FYI, there's a caddy Docker image with Alpine base. |
1. Which version of Caddy are you using (
caddy -version)?2. What are you trying to do?
I am building a server and want to receive
caddy --versionother thanunknown.I used to set it via
-X github.com/mholt/caddy/caddy/caddymain.gitTag=${PROJECT_VERSION}". Now, the project migrated tocaddyserverand it does not work.3. What is your Caddyfile?
N/A.
4. How did you run Caddy (give the full command and describe the execution environment)?
N/A.
5. Please paste any relevant HTTP request(s) here.
N/A.
6. What did you expect to see?
Previously, my compiled binary output was:
7. What did you see instead (give full error messages and/or log)?
8. Why is this a bug, and how do you think this should be fixed?
I don't know whether it is a bug. I think it might be a good idea to spell out how to set it up.
9. What are you doing to work around the problem in the meantime?
N/A.
10. Please link to any related issues, pull requests, and/or discussion.
N/A.
Bonus: What do you use Caddy for? Why did you choose Caddy?
Why do I use caddy:
The text was updated successfully, but these errors were encountered: