BUG: Backend Docker build fails due to Go version mismatch

Open Beginner friendly
#203 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

@Aakriti0207 is already working on this.

Since Dec 4, 2026.

  • #204 by @Aakriti0207 — open

Assessment

Difficulty
1/5
Estimated time
Under an hour
Newbie friendliness
93/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
docker, go

Research direction

Open go-backend/Dockerfile and compare its Go base image with the version required in go.mod. Build the image with docker build -t gittuf-backend . from go-backend/; done when the build succeeds with matching Go versions.

Written by the indexing model from the issue text.

Description

Description

While setting up the visualizer locally using Docker, I encountered a build failure because the backend Dockerfile uses Go 1.25, whereas go.mod requires Go 1.26.10.

Steps to reproduce
  1. Clone the repository.
  2. Navigate to go-backend/.
  3. Run docker build -t gittuf-backend .
Error

go: go.mod requires go >= 1.26.10 (running go 1.25.14; GOTOOLCHAIN=local)

Proposed fix

Update the base image in go-backend/Dockerfile from golang:1.25 to golang:1.26.10 to match the version specified in go.mod.

I tested this change locally, and the Docker image built successfully.

I'd be happy to submit a PR for this fix.

Dominant language
TypeScript
Stars
2
Forks
6
Avg merge
20h 47m
Merged PRs (30d)
9

Getting set up

  • Ships a Dockerfile or Docker Compose file
  • Has a pull request template
  • No contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from gittuf/visualizer

All issues in gittuf/visualizer

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.