commit | 3714c5c842180ef9c5cd35ecd54d14afe32b8091 | [log] [tgz] |
---|---|---|
author | Girish Gowdra <girish@opennetworking.org> | Thu Jan 28 11:33:37 2021 -0800 |
committer | Girish Gowdra <girish@opennetworking.org> | Thu Jan 28 11:33:37 2021 -0800 |
tree | 220a5c4f51e21f71ee5d308003e95b167faed515 | |
parent | 0b14f6e9e0a43051bf981821ee4bb4f27ed4e826 [diff] |
[VOL-3797] : Set default g++ and gcc version to 4.9 in openolt-test docker image Change-Id: Ic49a10dcd62fd22957be999ee7b2e6fbfe5f1662
This repo contains Dockerfile used to generate docker container with prerequisite software for running openolt agent unit tests.
Final docker images are tagged with the image version from the VERSION file.
The VERSION file should be changed using these rules:
Only use containers tagged with <VERSION>
.
Once you are the root folder of the openolt agent repo, execute the below command to build and run the unit tests. Replace VERSION
to use a specific version of the container.
docker run --rm -v $PWD:/app voltha/openolt-test:<VERSION> make test
Details:
-v
bind-mounts the local folder into the container.make build
to build containermake docker-push
to push built container to a registrymake lint
to lint the Dockerfiles