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

[Bug]: Caddy stable version conflict of Go versions #33428

Closed
1 task done
sanederchik opened this issue May 14, 2024 · 1 comment
Closed
1 task done

[Bug]: Caddy stable version conflict of Go versions #33428

sanederchik opened this issue May 14, 2024 · 1 comment
Assignees
Labels
Bug Something isn't working Cannot Reproduce Issue Issues that cannot be reproduced Community Reported issues reported by community members DevOps Pod Issues related to devops High This issue blocks a user from building or impacts a lot of users Needs Triaging Needs attention from maintainers to triage Nginx Issues related to Nginx Production

Comments

@sanederchik
Copy link

Is there an existing issue for this?

  • I have searched the existing issues

Description

In the existing docker basefile build there is usage of stable version of Caddy which uses Go 1.21 for some reasons. When building there is a conflict with caddy-rate-limit because the former uses the latest version of Go.

Steps To Reproduce

Bug:

FROM caddy:builder-alpine AS caddybuilder

RUN xcaddy build master --with github.com/mholt/caddy-ratelimit
0.249 2024/05/13 19:04:49 [INFO] exec (timeout=0s): /usr/local/go/bin/go get -d -v github.com/caddyserver/caddy/v2@master
9.243 go: downloading github.com/caddyserver/caddy v1.0.6-0.20200303163406-891446d06340
18.14 go: downloading github.com/caddyserver/caddy/v2 v2.8.0-beta.2.0.20240513173818-fb63e2e40ca3
24.60 go: github.com/caddyserver/caddy/v2@master: github.com/caddyserver/caddy/v2@v2.8.0-beta.2.0.20240513173818-fb63e2e40ca3 requires go >= 1.22.3 (running go 1.21.10; GOTOOLCHAIN=local)
24.60 2024/05/13 19:05:14 [FATAL] exit status 1

Fix:

FROM caddy:2.8.0-beta.2-builder-alpine AS caddybuilder

RUN xcaddy build master --with github.com/mholt/caddy-ratelimit

Public Sample App

No response

Environment

Production

Severity

High (Blocker to building or releasing)

Issue video log

No response

Version

Self hosted - latest

@sanederchik sanederchik added Bug Something isn't working Needs Triaging Needs attention from maintainers to triage labels May 14, 2024
@Nikhil-Nandagopal Nikhil-Nandagopal added Community Reported issues reported by community members High This issue blocks a user from building or impacts a lot of users Production Nginx Issues related to Nginx labels May 14, 2024
@github-actions github-actions bot added the DevOps Pod Issues related to devops label May 21, 2024
@pratapaprasanna
Copy link
Contributor

hey @sanederchik thanks for the contribution but, we cannot reproduce this in our eco-system

@Nikhil-Nandagopal Nikhil-Nandagopal added the Cannot Reproduce Issue Issues that cannot be reproduced label May 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working Cannot Reproduce Issue Issues that cannot be reproduced Community Reported issues reported by community members DevOps Pod Issues related to devops High This issue blocks a user from building or impacts a lot of users Needs Triaging Needs attention from maintainers to triage Nginx Issues related to Nginx Production
Projects
None yet
Development

No branches or pull requests

4 participants