2,599
edits
Efernandez (talk | contribs) |
Efernandez (talk | contribs) |
||
Line 54: | Line 54: | ||
If you instead want to build your image, a convenient Dockerfile is included as part of the service. | If you instead want to build your image, a convenient Dockerfile is included as part of the service. | ||
You can get the source code with the following command: | |||
<pre> | |||
git clone https://gitlab.ridgerun.com/open/ridgerun-microservices/ptz.git | |||
</pre> | |||
First, we need to prepare the context directory for this build, please create a directory and include all the necessary repositories (listed below). The Dockerfile will look for all the source code in the context directory and copy them to the container. | First, we need to prepare the context directory for this build, please create a directory and include all the necessary repositories (listed below). The Dockerfile will look for all the source code in the context directory and copy them to the container. | ||
Line 79: | Line 83: | ||
Change '''ptz-context''' to your context's path and the tag (-t) to the name you want to give to your image. | Change '''ptz-context''' to your context's path and the tag (-t) to the name you want to give to your image. | ||
====Launch the container==== | ====Launch the container==== |