mirror of
				https://github.com/cookiecutter/cookiecutter-django.git
				synced 2025-11-04 01:47:28 +03:00 
			
		
		
		
	Clear ENTRYPOINT in awscli image to allow script execution (#5221)
				
					
				
			* Fix: clear ENTRYPOINT in derived image to allow script execution * Added explanation regarding clearing ENTRYPOINT from the base image Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com> --------- Co-authored-by: Bruno Alla <browniebroke@users.noreply.github.com>
This commit is contained in:
		
							parent
							
								
									2443932974
								
							
						
					
					
						commit
						634b091756
					
				| 
						 | 
				
			
			@ -1,5 +1,8 @@
 | 
			
		|||
FROM docker.io/amazon/aws-cli:2.17.0
 | 
			
		||||
 | 
			
		||||
# Clear entrypoint from the base image, otherwise it's always calling the aws CLI
 | 
			
		||||
ENTRYPOINT []
 | 
			
		||||
 | 
			
		||||
COPY ./compose/production/aws/maintenance /usr/local/bin/maintenance
 | 
			
		||||
COPY ./compose/production/postgres/maintenance/_sourced /usr/local/bin/maintenance/_sourced
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user