Steps
Project Specific
- Best-Practice: Have a separate docker folder in a suitable location within the project's directory structure.
For VinePerf it is: tools/docker
- Best-Practice: Within this docker folder, have a dedicate folder for each and every container that you plan to publish.
- In VinePerf for Prox container, the path is: tools/docker/test-containers/trafficgen-pods/prox
- In each container folder, ensure you have:
- Dockerfile, that is well tested.
- Source files that are referred in the Dockerfile, which is present in this folder' with ADD/COPY commands
Releng Specific
- Download releng repo in order to submit a patch. git clone https://gerrit.opnfv.org/gerrit/releng
- Best Practice: Create a separate branch: cd releng; git checkout -b vineperfcontainers
- Open and Edit this file: https://github.com/opnfv/releng/blob/master/jjb/releng/opnfv-docker.yaml