mirror of
				https://github.com/teddysun/across.git
				synced 2025-10-31 08:45:36 +08:00 
			
		
		
		
	| @@ -5,13 +5,13 @@ FROM debian:stretch | ||||
| LABEL maintainer="Teddysun <i@teddysun.com>" | ||||
|  | ||||
| RUN set -ex \ | ||||
|     && printf "deb http://deb.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list \ | ||||
|     && apt-get update \ | ||||
|     && apt-get -t sid install -y --no-install-recommends libreswan xl2tpd \ | ||||
|     && apt-get install -y --no-install-recommends wget iproute2 openssl ca-certificates kmod net-tools iptables \ | ||||
|     && apt-get -y autoremove \ | ||||
|     && apt-get -y clean \ | ||||
|     && rm -rf /var/lib/apt/lists/* | ||||
| 	&& printf "deb http://deb.debian.org/debian sid main" > /etc/apt/sources.list.d/sid.list \ | ||||
| 	&& apt-get update \ | ||||
| 	&& apt-get -t sid install -y --no-install-recommends libreswan xl2tpd \ | ||||
| 	&& apt-get install -y --no-install-recommends wget iproute2 openssl ca-certificates kmod net-tools iptables \ | ||||
| 	&& apt-get -y autoremove \ | ||||
| 	&& apt-get -y clean \ | ||||
| 	&& rm -rf /var/lib/apt/lists/* | ||||
|  | ||||
| COPY ./ipsec /etc/init.d/ipsec | ||||
| COPY ./l2tp.sh /usr/bin/l2tp | ||||
| @@ -22,4 +22,4 @@ VOLUME /lib/modules | ||||
|  | ||||
| EXPOSE 500/udp 4500/udp | ||||
|  | ||||
| CMD [ "/usr/bin/l2tp" ] | ||||
| CMD [ "l2tp" ] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user