X-Git-Url: https://gerrit.akraino.org/r/gitweb?p=validation.git;a=blobdiff_plain;f=docker%2FREADME.rst;h=ac1b926594157fc7445267376fb88389e05c8e53;hp=8182b737f7ee15f0e2c1201db273a5dccaa70bd6;hb=346f2534d3995f962b8458715741fa0cba2d2ee0;hpb=e9852ac1d156336faf6c418afe28f2ef172fe406 diff --git a/docker/README.rst b/docker/README.rst index 8182b73..ac1b926 100644 --- a/docker/README.rst +++ b/docker/README.rst @@ -19,19 +19,24 @@ Overview ======== The Makefile in this directory is used to build and push all -the validation containers. The command to do that is: - make all REGISTRY= +the validation containers. The default registry is **akraino** on +dockerhub, but only CI jenkins slaves are authorized to push +images to that registry. If you want to push to your own test registry, set +the REGISTRY variables as in the commands below. + +To build and push the images: + make all [ REGISTRY= ] To just build the containers, use the command: - make build-all REGISTRY= + make build-all [ REGISTRY= ] The k8s container ================= To build just the k8s container, use the command: - make k8s-build REGISTRY= + make k8s-build [ REGISTRY= ] To both build and push the container, use the command: - make k8s REGISTRY= + make k8s [ REGISTRY= ] Container should be started with the admin.conf file mounted: docker run -ti -v /home/jenkins/admin.conf:/root/.kube/config \ -/akraino_validation:k8s-latest /bin/sh +/validation:k8s-latest /bin/sh