mirror of
				https://github.com/prometheus/node_exporter.git
				synced 2025-08-20 18:33:52 -07:00 
			
		
		
		
	
		
			
				
	
	
		
			15 lines
		
	
	
		
			390 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			390 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
FROM quay.io/prometheus/busybox:latest
 | 
						|
 | 
						|
ARG TARGETPLATFORM
 | 
						|
ARG BUILDPLATFORM
 | 
						|
ARG TARGETOS
 | 
						|
ARG TARGETARCH
 | 
						|
 | 
						|
LABEL maintainer="The Prometheus Authors <prometheus-developers@googlegroups.com>"
 | 
						|
 | 
						|
# Copy the correct binary based on target architecture
 | 
						|
COPY .build/${TARGETOS}-${TARGETARCH}/node_exporter /bin/node_exporter
 | 
						|
 | 
						|
EXPOSE      9100
 | 
						|
USER        nobody
 | 
						|
ENTRYPOINT  [ "/bin/node_exporter" ]  |