You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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 atcmd/server
, which resulted in a successful build.The text was updated successfully, but these errors were encountered: