mirror of
				https://github.com/honestbee/drone-kubernetes.git
				synced 2025-11-04 00:48:03 +00:00 
			
		
		
		
	Use bash
This commit is contained in:
		
							parent
							
								
									ab624c66d6
								
							
						
					
					
						commit
						db12f751c0
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		| 
						 | 
				
			
			@ -1,8 +1,8 @@
 | 
			
		|||
FROM alpine
 | 
			
		||||
RUN apk -Uuv add curl ca-certificates
 | 
			
		||||
RUN apk -Uuv add curl ca-certificates bash
 | 
			
		||||
RUN curl -LO https://storage.googleapis.com/kubernetes-release/release/$(curl -s https://storage.googleapis.com/kubernetes-release/release/stable.txt)/bin/linux/amd64/kubectl
 | 
			
		||||
RUN chmod +x ./kubectl
 | 
			
		||||
RUN mv ./kubectl /usr/local/bin/kubectl
 | 
			
		||||
ADD update.sh /bin/
 | 
			
		||||
RUN chmod +x /bin/update.sh
 | 
			
		||||
CMD /bin/update.sh
 | 
			
		||||
CMD bash -c /bin/update.sh
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -1,4 +1,4 @@
 | 
			
		|||
#!/bin/sh
 | 
			
		||||
#!/bin/bash
 | 
			
		||||
 | 
			
		||||
if [ -z ${PLUGIN_NAMESPACE} ]; then
 | 
			
		||||
  PLUGIN_NAMESPACE="default"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue