| commit | f8af3e8bb40d87254ebf9c98fa15e9cdf34752d4 | [log] [tgz] |
|---|---|---|
| author | madhumatigouda <madhumati.gouda@radisys.com> | Fri Mar 06 17:28:16 2026 +0530 |
| committer | madhumatigouda <madhumati.gouda@radisys.com> | Tue Mar 10 17:04:43 2026 +0530 |
| tree | c9fea93d5e8751f38f9f63eceb1144ac1bc26396 | |
| parent | 133403d4bb2d4f616ea59b1db25c75c9444f4320 [diff] |
[VOL-5583] upgrade go to 1.25.5 and golangci-lint version to 2.8.0 Signed-off-by: madhumatigouda <madhumati.gouda@radisys.com> Change-Id: I85308c2b9d462a8911ff6f26c4ee949331bf47be
This repo contains Dockerfiles used to generate versioned tool containers.
Final docker images are tagged with the image version from the VERSION file. This allows projects to specify a single "voltha toolchain version" and get all relevant tool versions.
The VERSION file should be changed using these rules:
Only use containers tagged with <VERSION>-tool.
Do NOT use containers tagged with tool-<TOOL_VERSION>.
Some examples of how to use these containers:
docker run --rm --user $(id -u):$(id -g) -v $PWD:/app -v gocache:/.cache -v gocache-${VOLTHA_TOOLS_VERSION}:/go/pkg voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-golang go <args>docker run --rm --user $(id -u):$(id -g) -v $PWD:/app -v gocache:/.cache -v gocache-${VOLTHA_TOOLS_VERSION}:/go/pkg voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-golangci-lint golangci-lint <args>docker run --rm --user $(id -u):$(id -g) -v $PWD:/app voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-protoc protoc <args>docker run --rm --user $(id -u):$(id -g) -v $PWD:/app voltha/voltha-ci-tools:${VOLTHA_TOOLS_VERSION}-hadolint hadolint <args>Details:
--user is specified so that generated files have sane ownership and permissions.-v bind-mounts the local folder into the container.-v is also used by golang containers to bind-mount volumes for caches.make build to build containersmake lint to lint the Dockerfilesmake docker-push to push built containers to a registry