Unification of base creation in stack package Dockerfiles#1815
Unification of base creation in stack package Dockerfiles#1815
Conversation
okynos
left a comment
There was a problem hiding this comment.
Minor review, good job really elegant solution.
| else | ||
| cp /root/output/%{DASHBOARD_FILE} ./ | ||
| fi | ||
| cp /opt/%{DASHBOARD_FILE} ./ ;\ |
There was a problem hiding this comment.
The base source directory change is due to the fact that the /root directory is a directory mounted at the boot of the container, for this reason, everything that exists in the image in the /root directory is replaced by the contents of the directory mounted.
For this reason, I decided to place the base in another dir and continue the installation with this reference
| else | ||
| cp /root/output/%{INDEXER_FILE} ./ | ||
| fi | ||
| cp /opt/%{INDEXER_FILE} ./ ;\ |
There was a problem hiding this comment.
The base source directory change is due to the fact that the /root directory is a directory mounted at the boot of the container, for this reason, everything that exists in the image in the /root directory is replaced by the contents of the directory mounted.
For this reason, I decided to place the base in another dir and continue the installation with this reference
| else \ | ||
| cp /root/output/$(DASHBOARD_FILE) ./ ;\ | ||
| fi | ||
| cp /opt/$(DASHBOARD_FILE) ./ ;\ |
There was a problem hiding this comment.
The base source directory change is due to the fact that the /root directory is a directory mounted at the boot of the container, for this reason, everything that exists in the image in the /root directory is replaced by the contents of the directory mounted.
For this reason, I decided to place the base in another dir and continue the installation with this reference
Description
Changes are made to the package build scripts and Dokefiles are modified so that they compile the base before building the package
Logs example
Tests
%filessection is correctly updated if necessary%filessection is correctly updated if necessary