mirror of
				https://github.com/byReqz/gotty-docker.git
				synced 2025-11-04 03:21:29 +00:00 
			
		
		
		
	add Debian variant
This commit is contained in:
		
							
								
								
									
										11
									
								
								Debian/Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										11
									
								
								Debian/Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,11 @@
 | 
			
		||||
FROM debian:sid
 | 
			
		||||
 | 
			
		||||
RUN apt-get update
 | 
			
		||||
RUN apt-get install -y curl jq tmux
 | 
			
		||||
RUN curl -s https://api.github.com/repos/yudai/gotty/releases/latest | jq -r '.assets[].browser_download_url' | grep "gotty_linux_amd64.tar.gz" | xargs curl -L -o gotty_linux_amd64.tar.gz
 | 
			
		||||
RUN tar xvfz gotty_linux_amd64.tar.gz
 | 
			
		||||
 | 
			
		||||
ENV TERM=xterm
 | 
			
		||||
COPY run-deb.sh ./run.sh
 | 
			
		||||
RUN chmod +x ./run.sh
 | 
			
		||||
ENTRYPOINT ["/run.sh"]
 | 
			
		||||
		Reference in New Issue
	
	Block a user