mirror of
https://github.com/teddysun/across.git
synced 2025-01-31 12:19:35 +08:00
Update Dockerfile
Signed-off-by: Teddysun <i@teddysun.com>
This commit is contained in:
parent
9ffd12f3e0
commit
f82cc0c2a3
@ -8,14 +8,17 @@ MAINTAINER Teddysun <i@teddysun.com>
|
||||
|
||||
ENV KMS_RELEASE https://github.com/Wind4/vlmcsd/archive/master.zip
|
||||
|
||||
RUN apk add --no-cache --virtual .build-deps \
|
||||
RUN runDeps="\
|
||||
g++ \
|
||||
gcc \
|
||||
wget \
|
||||
make \
|
||||
unzip \
|
||||
"; \
|
||||
set -ex \
|
||||
&& apk add --no-cache --virtual .build-deps ${runDeps} \
|
||||
&& cd /tmp \
|
||||
&& wget -O vlmcsd.zip $KMS_RELEASE \
|
||||
&& wget -O vlmcsd.zip ${KMS_RELEASE} \
|
||||
&& unzip vlmcsd.zip \
|
||||
&& cd vlmcsd-master \
|
||||
&& make \
|
||||
@ -26,4 +29,4 @@ RUN apk add --no-cache --virtual .build-deps \
|
||||
|
||||
EXPOSE 1688
|
||||
|
||||
CMD [ "/usr/bin/vlmcsd", "-D" ]
|
||||
CMD [ "vlmcsd", "-D" ]
|
||||
|
@ -22,4 +22,4 @@ VOLUME /lib/modules
|
||||
|
||||
EXPOSE 500/udp 4500/udp
|
||||
|
||||
CMD [ "/usr/bin/l2tp" ]
|
||||
CMD [ "l2tp" ]
|
||||
|
Loading…
x
Reference in New Issue
Block a user