Modify dockerfile template, so that any command can be executed (#29741)
This commit is contained in:
		
				
					committed by
					
						
						GitHub
					
				
			
			
				
	
			
			
			
						parent
						
							768d3504dd
						
					
				
				
					commit
					58b144c0da
				
			@@ -62,5 +62,6 @@ RUN {% if os_package_update %}{{ os_packages_final.update }} \
 | 
				
			|||||||
{% for label, value in labels.items() %}
 | 
					{% for label, value in labels.items() %}
 | 
				
			||||||
LABEL "{{ label }}"="{{ value }}"
 | 
					LABEL "{{ label }}"="{{ value }}"
 | 
				
			||||||
{% endfor %}
 | 
					{% endfor %}
 | 
				
			||||||
ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l"]
 | 
					ENTRYPOINT ["/bin/bash", "--rcfile", "/etc/profile", "-l", "-c", "$*", "--" ]
 | 
				
			||||||
 | 
					CMD [ "/bin/bash" ]
 | 
				
			||||||
{% endif %}
 | 
					{% endif %}
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user