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] Error causing build image to fail when creating buildagent via Dockerfile. Error: undefined : any #767

Closed
1 task done
j-maltese opened this issue Aug 7, 2024 · 1 comment
Labels

Comments

@j-maltese
Copy link

j-maltese commented Aug 7, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Current Behavior

@AlexVulaj could you double check commit: 10f71ea
particularly the route.go file and its use of "any" on lines: 28, 134, 136, 144, 149, 155, 165 ?

I'm not a Go developer, but we use gorilla / mux in an application I work on and when we try to build the image for the build agent, I am getting an error pointing to this file.

We are running this command as part of the Dockerfile: RUN go get -u github.com/gorilla/mux

We had a successful build on April 19. This code was added in June and there have been no changes to the Dockerfile we are are running on our end.

I am attaching a screenshot of the errors we get on the failed build.
Screenshot 2024-08-07 171328

I'm happy to supply additional information if that is helpful.

Expected Behavior

Expect the go get command to successfully download https://github.com/gorilla/mux
Screenshot from April 19:
Screenshot 2024-08-07 173259

Steps To Reproduce

RUN go get -u github.com/gorilla/mux

Anything else?

No response

@j-maltese j-maltese added the bug label Aug 7, 2024
@hulkingshtick
Copy link

Upgrade to the version of Go required by this package, Go 1.20 or later.

The type alias any was introduced in Go 1.18.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants