2019-04-15 20:27:00 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								ARG ARCH="amd64"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								ARG OS="linux"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								FROM quay.io/prometheus/busybox-${OS}-${ARCH}:latest
							 | 
						
					
						
							
								
									
										
										
										
											2018-08-27 10:43:53 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
							 | 
						
					
						
							
								
									
										
										
										
											2015-01-12 22:15:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2019-04-15 20:27:00 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								ARG ARCH="amd64"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								ARG OS="linux"
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								COPY .build/${OS}-${ARCH}/prometheus        /bin/prometheus
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								COPY .build/${OS}-${ARCH}/promtool          /bin/promtool
							 | 
						
					
						
							
								
									
										
										
										
											2015-12-22 01:09:38 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								COPY documentation/examples/prometheus.yml  /etc/prometheus/prometheus.yml
							 | 
						
					
						
							
								
									
										
										
										
											2016-07-29 21:00:47 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								COPY console_libraries/                     /usr/share/prometheus/console_libraries/
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								COPY consoles/                              /usr/share/prometheus/consoles/
							 | 
						
					
						
							
								
									
										
										
										
											2019-10-17 20:38:09 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								COPY LICENSE                                /LICENSE
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								COPY NOTICE                                 /NOTICE
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								COPY npm_licenses.tar.bz2                   /npm_licenses.tar.bz2
							 | 
						
					
						
							
								
									
										
										
										
											2016-07-29 21:00:47 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2021-09-30 17:13:44 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								WORKDIR /prometheus
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								RUN ln -s /usr/share/prometheus/console_libraries /usr/share/prometheus/consoles/ /etc/prometheus/ && \
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								    chown -R nobody:nobody /etc/prometheus /prometheus
							 | 
						
					
						
							
								
									
										
										
										
											2015-01-12 22:15:26 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								
							 | 
						
					
						
							
								
									
										
										
										
											2017-06-19 17:33:39 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								USER       nobody
							 | 
						
					
						
							
								
									
										
										
										
											2014-02-07 00:29:37 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								EXPOSE     9090
							 | 
						
					
						
							
								
									
										
										
										
											2015-04-24 22:12:31 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								VOLUME     [ "/prometheus" ]
							 | 
						
					
						
							
								
									
										
										
										
											2018-12-10 16:19:01 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								ENTRYPOINT [ "/bin/prometheus" ]
							 | 
						
					
						
							
								
									
										
										
										
											2019-01-21 19:57:16 +08:00
										 
									 
								 
							 | 
							
								
									
										
									
								
							 | 
							
								
							 | 
							
							
								CMD        [ "--config.file=/etc/prometheus/prometheus.yml", \
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								             "--storage.tsdb.path=/prometheus", \
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								             "--web.console.libraries=/usr/share/prometheus/console_libraries", \
							 | 
						
					
						
							| 
								
							 | 
							
								
							 | 
							
								
							 | 
							
							
								             "--web.console.templates=/usr/share/prometheus/consoles" ]
							 |