mirror of
				https://github.com/optim-enterprises-bv/kubernetes.git
				synced 2025-11-04 04:08:16 +00:00 
			
		
		
		
	chore (samples): Don't cache apks at all in Dockerfiles
This commit is contained in:
		@@ -14,7 +14,7 @@
 | 
			
		||||
 | 
			
		||||
FROM alpine:3.4
 | 
			
		||||
 | 
			
		||||
RUN apk add -U redis sed bash && rm -rf /var/cache/apk/*
 | 
			
		||||
RUN apk add --no-cache redis sed bash
 | 
			
		||||
 | 
			
		||||
COPY redis-master.conf /redis-master/redis.conf
 | 
			
		||||
COPY redis-slave.conf /redis-slave/redis.conf
 | 
			
		||||
 
 | 
			
		||||
@@ -14,5 +14,4 @@
 | 
			
		||||
 | 
			
		||||
FROM alpine
 | 
			
		||||
 | 
			
		||||
RUN apk update --no-cache
 | 
			
		||||
RUN apk add bind-tools
 | 
			
		||||
RUN apk add --no-cache bind-tools
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user