| commit | 933d2b986447f458df83da90c1f9affe018d6300 | [log] [tgz] |
|---|---|---|
| author | abhayk <abhayk@radisys.com> | Fri Feb 28 18:46:49 2025 +0530 |
| committer | abhayk <abhayk@radisys.com> | Fri Feb 28 18:46:56 2025 +0530 |
| tree | 1b58c40a9bff3a9067d5aa44d7fd5172ba12bf61 | |
| parent | 40d50f9294a982746f29f8297e2c67bd5e22ccd7 [diff] |
Update version to v3.1.1 Change-Id: I8f332cf01e77fc4c09f767099512cbabce13e94f Signed-off-by: abhayk <abhayk@radisys.com>
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