| commit | f86e6252326bf9b2885cfa6fd57fcdea64a6e47a | [log] [tgz] |
|---|---|---|
| author | Eric Ball <eball@linuxfoundation.org> | Fri Jun 26 18:14:12 2026 -0700 |
| committer | Eric Ball <eball@linuxfoundation.org> | Fri Jun 26 18:14:12 2026 -0700 |
| tree | 138e3b5ff5daa15afeb968cf1445036d51597f29 | |
| parent | c5bab8414eb53cc9cc88ffd6efe9dbad9ff4772d [diff] |
[VOL-5495] Add dependabot config for GHA Signed-off-by: Eric Ball <eball@linuxfoundation.org> Change-Id: I0383366121878c3770de4bb9a05d74040639db19
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