gin-rest-api-example icon indicating copy to clipboard operation
gin-rest-api-example copied to clipboard

Docker Build Failure due to GoLang Version 1.14

Open abdulhakkeempa opened this issue 1 year ago • 0 comments

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.

abdulhakkeempa avatar Dec 27 '23 17:12 abdulhakkeempa