2,599
edits
Efernandez (talk | contribs) No edit summary |
Efernandez (talk | contribs) |
||
Line 92: | Line 92: | ||
You can build the analytics microservice image using the Dockerfile in the docker directory. First we need to prepare the context directory for this build, you need to create a directory and include this repository and the rrms-utils project. The Dockerfile will look for both packages in the context directory and copy them to the container. | You can build the analytics microservice image using the Dockerfile in the docker directory. First we need to prepare the context directory for this build, you need to create a directory and include this repository and the rrms-utils project. The Dockerfile will look for both packages in the context directory and copy them to the container. | ||
<syntaxhighlight lang="bash"> | |||
mkdir analytics-context | |||
cd analytics-context | |||
git clone https://gitlab.ridgerun.com/open/ridgerun-microservices/analytics.git | |||
git clone https://gitlab.ridgerun.com/open/ridgerun-microservices/rrms-utils.git | |||
</syntaxhighlight> | |||
After this, your context directory should look like this: | |||
<syntaxhighlight lang="bash"> | <syntaxhighlight lang="bash"> |