Change dockerfile to make full build inside container [WIP]#711
Change dockerfile to make full build inside container [WIP]#711theikkila wants to merge 1 commit intoerxes:masterfrom
Conversation
…build step outside container
DeepCode's analysis on #854e95 found:
💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues. |
|
If you actually compare our docker images and this new image, only src directory will be copied additionally. So I don't think this new images will be fat. I don't think it's good idea to add those steps back into |
Currently image is built in CI-pipeline so that first steps are made outside dockerfile and only the built distribution is moved in.
That causes however problems if somebody would like to build the image without the full CI-pipeline.
This is WIP, it works already but it produces very large images.