Skip to content

Docker Build Failure due to GoLang Version 1.14 #2

@abdulhakkeempa

Description

@abdulhakkeempa

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions