This commit is contained in:
		
						commit
						993ec547d1
					
				
					 3 changed files with 93 additions and 0 deletions
				
			
		
							
								
								
									
										20
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										20
									
								
								Dockerfile
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,20 @@
 | 
			
		|||
FROM debian:12
 | 
			
		||||
 | 
			
		||||
LABEL org.opencontainers.image.authors="me@kurocon.nl"
 | 
			
		||||
LABEL org.opencontainers.image.source="https://git.kurocon.nl/KuroNET/munin-docker"
 | 
			
		||||
LABEL org.opencontainers.image.description="Munin image with Docker binaries"
 | 
			
		||||
 | 
			
		||||
RUN apt-get update -qq && RUNLEVEL=1 DEBIAN_FRONTEND=noninteractive \
 | 
			
		||||
    apt-get install -y -qq cron munin nginx wget libcgi-fast-perl curl && \
 | 
			
		||||
    mkdir -p /var/run/munin && chown -R munin:munin /var/run/munin && \
 | 
			
		||||
    echo "includedir /etc/munin/munin-conf.d" > /etc/munin/munin.conf
 | 
			
		||||
 | 
			
		||||
VOLUME /var/lib/munin
 | 
			
		||||
VOLUME /var/log/munin
 | 
			
		||||
VOLUME /var/run/munin
 | 
			
		||||
VOLUME /var/cache/munin
 | 
			
		||||
VOLUME /etc/munin/munin.conf.d
 | 
			
		||||
 | 
			
		||||
EXPOSE 80
 | 
			
		||||
 | 
			
		||||
CMD ["/usr/sbin/munin-node"]
 | 
			
		||||
		Reference in a new issue