Thanks you all for your response , i got the issue resolved, as i was copying the shell script to app directory of container which was mounted to volumes i found out that RUN command will not do anything if its mounted to volumes so i copied the shell script to other directory called script and ran it it worked
BEFORE dockerfile
VOL /app
COPY start_combined_collector.sh **/app**
RUN chmod +x start_combined_collector.sh
AFTER
VOL /app
COPY start_combined_collector.sh **/script**
RUN chmod +x start_combined_collector.sh
as this time i am copying my start_combined_collector.sh to script directory which is not mounted to VOL it worked
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…