You've already forked dockerfiles
							
							
				mirror of
				https://github.com/vimagick/dockerfiles.git
				synced 2025-10-30 23:47:48 +02:00 
			
		
		
		
	
		
			
				
	
	
		
			20 lines
		
	
	
		
			362 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
			
		
		
	
	
			20 lines
		
	
	
		
			362 B
		
	
	
	
		
			Docker
		
	
	
	
	
	
| #
 | |
| # Dockerfile for pptpd
 | |
| #
 | |
| 
 | |
| FROM alpine
 | |
| MAINTAINER kev <noreply@easypi.pro>
 | |
| 
 | |
| RUN apk add --no-cache iptables ppp pptpd
 | |
| 
 | |
| COPY ./data/pptpd.conf    /etc/
 | |
| COPY ./data/chap-secrets  /etc/ppp/
 | |
| COPY ./data/pptpd-options /etc/ppp/
 | |
| 
 | |
| EXPOSE 1723
 | |
| 
 | |
| CMD set -xe \
 | |
|     && iptables -t nat -A POSTROUTING -o eth0 -j MASQUERADE \
 | |
|     && pptpd \
 | |
|     && syslogd -n -O /dev/stdout
 |