Yuqi Gu created BIGTOP-3996:
-------------------------------
Summary: Force a clean build of toolchain images
Key: BIGTOP-3996
URL: https://issues.apache.org/jira/browse/BIGTOP-3996
Project: Bigtop
Issue Type: Improvement
Reporter: Yuqi Gu
Assignee: Yuqi Gu
When I build Bigtop toolchain images, some issues occurred:
{code:java}
++ sed -i -e 's|RUN bash /tmp/puppetize.sh|ENV PATH
/usr/lib/jvm/java-1.8.0/bin:$PATH\nRUN bash /tmp/puppetize.sh|' Dockerfile
sed: preserving permissions for ‘./sedNQcfyR’: Operation not permitted
++ sed -i -e 's|RUN bash /tmp/puppetize.sh|RUN bash /tmp/puppetize.sh\nRUN dnf
install -y initscripts|' Dockerfile
sed: preserving permissions for ‘./sedAbeaag’: Operation not permitted
{code}
After fixing the permisson issues above, I start to rebuild the image
(bigtop/puppet) in the same node.
The docker build process always adopt the cache one which was not built
properly in the last time. We should force Docker to rebuild a clean image
without the cache.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)