-
Notifications
You must be signed in to change notification settings - Fork 96
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Unification of base creation in stack package Dockerfiles #1815
base: 4.4
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which it's function? ;\
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Same here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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
%files
section is correctly updated if necessary%files
section is correctly updated if necessary