Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Dockerfile build step fails due to misaligned Go versions (1.21.5 vs 1.22.0) #2811

@gomesdigital

Description

@gomesdigital




Describe the bug
The Docker build step is currently failing because the image's Go version is misaligned with the mod file:

3.948 go: go.mod requires go >= 1.22.0 (running go 1.21.5; GOTOOLCHAIN=local)
3.949 make: *** [Makefile:28: build] Error 1

Appears to have been introduced in v0.32.5.

To Reproduce
Steps to reproduce the behavior:

  1. Checkout master
  2. docker build -t k9s-docker:v0.0.1 . (as per documentation)

Expected behavior
Docker image should be built successfully.

Versions (please complete the following information):

  • OS: [Pop OS 22.04]
  • K9s: [ v0.32.5]
  • K8s: [v1.30.0]

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