build: refactor Dockerfile and update base image
- Update the base image in Dockerfile from `1.7.0` to `1.7.1` - Change the location of `entrypoint.sh` from root to `/bin/` directory in Dockerfile - Remove the explicit `chmod +x` command for `entrypoint.sh` in Dockerfile Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>pull/286/head
							parent
							
								
									b9f6bf6223
								
							
						
					
					
						commit
						dc3133ca98
					
				@ -1,5 +1,5 @@
 | 
			
		||||
FROM ghcr.io/appleboy/drone-ssh:1.7.0
 | 
			
		||||
FROM ghcr.io/appleboy/drone-ssh:1.7.1
 | 
			
		||||
 | 
			
		||||
COPY entrypoint.sh /entrypoint.sh
 | 
			
		||||
RUN chmod +x /entrypoint.sh
 | 
			
		||||
ENTRYPOINT ["/entrypoint.sh"]
 | 
			
		||||
COPY entrypoint.sh /bin/entrypoint.sh
 | 
			
		||||
 | 
			
		||||
ENTRYPOINT ["/bin/entrypoint.sh"]
 | 
			
		||||
 | 
			
		||||
					Loading…
					
					
				
		Reference in New Issue