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

Docker Build Failure due to GoLang Version 1.14 #2

Open
abdulhakkeempa opened this issue Dec 27, 2023 · 1 comment
Open

Docker Build Failure due to GoLang Version 1.14 #2

abdulhakkeempa opened this issue Dec 27, 2023 · 1 comment

Comments

@abdulhakkeempa
Copy link

When I used the command docker build -f cmd/server/Dockerfile -t gin-example/article-server . to build a Docker image, the build failed with an exit code of 2.

After numerous searches, I understood that the issue was due to the Go Lang version being 1.14. I upgraded the version to 1.18 in the Dockerfile located at cmd/server, which resulted in a successful build.

@jenrenia
Copy link

Same

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

No branches or pull requests

2 participants