first commit
This commit is contained in:
		
							
								
								
									
										18
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										18
									
								
								Dockerfile
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,18 @@
 | 
				
			|||||||
 | 
					FROM telegraf:latest
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install required packages
 | 
				
			||||||
 | 
					RUN apt-get update && apt-get upgrade -y && apt-get install -y --no-install-recommends \
 | 
				
			||||||
 | 
					    apt-transport-https \
 | 
				
			||||||
 | 
					    ca-certificates \
 | 
				
			||||||
 | 
					    curl \
 | 
				
			||||||
 | 
					    gnupg-agent \
 | 
				
			||||||
 | 
					    software-properties-common \
 | 
				
			||||||
 | 
					    python3-distutils
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install pip
 | 
				
			||||||
 | 
					RUN curl https://bootstrap.pypa.io/get-pip.py -o get-pip.py
 | 
				
			||||||
 | 
					RUN python3 get-pip.py --prefix=/usr/local
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					# Install Python dependencies
 | 
				
			||||||
 | 
					RUN python3 -m pip install requests
 | 
				
			||||||
 | 
					RUN pip install unidecode
 | 
				
			||||||
		Reference in New Issue
	
	Block a user