forked from mirrors/amnezia-wg-easy
		
	Dockerfile: separate Symlink task
This commit is contained in:
		
							parent
							
								
									e42a9c4062
								
							
						
					
					
						commit
						10089cf622
					
				
					 1 changed files with 4 additions and 2 deletions
				
			
		| 
						 | 
					@ -37,8 +37,10 @@ RUN npm i -g nodemon
 | 
				
			||||||
RUN apk add -U --no-cache \
 | 
					RUN apk add -U --no-cache \
 | 
				
			||||||
    iptables-legacy \
 | 
					    iptables-legacy \
 | 
				
			||||||
    wireguard-tools \
 | 
					    wireguard-tools \
 | 
				
			||||||
    dumb-init &&\
 | 
					    dumb-init
 | 
				
			||||||
    rm /sbin/iptables &&\
 | 
					
 | 
				
			||||||
 | 
					# Symlink iptables
 | 
				
			||||||
 | 
					RUN rm /sbin/iptables \
 | 
				
			||||||
    ln -s /sbin/iptables-legacy /sbin/iptables
 | 
					    ln -s /sbin/iptables-legacy /sbin/iptables
 | 
				
			||||||
 | 
					
 | 
				
			||||||
# Expose Ports
 | 
					# Expose Ports
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue