From 509c3b9a5b95115583160daaa17c69d0071627b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E3=82=AE=E3=83=AA=E7=8C=AB?= Date: Wed, 18 Aug 2021 16:27:01 +0800 Subject: [PATCH] Update Dockerfile show logs,change mirrors --- Dockerfile | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Dockerfile b/Dockerfile index c32c235..9418974 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,7 +1,8 @@ FROM alpine:latest as builder WORKDIR /root -RUN apk add --no-cache git make build-base && \ - git clone --branch master --single-branch https://github.com/Wind4/vlmcsd.git && \ +RUN sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories && \ + apk add --no-cache git make build-base && \ + git clone --branch master --single-branch https://api.ineko.cc/gh/https://github.com/Wind4/vlmcsd.git && \ cd vlmcsd/ && \ make @@ -9,4 +10,4 @@ FROM alpine:latest WORKDIR /root/ COPY --from=builder /root/vlmcsd/bin/vlmcsd /usr/bin/vlmcsd EXPOSE 1688/tcp -CMD [ "/usr/bin/vlmcsd", "-D", "-d" ] \ No newline at end of file +CMD [ "/usr/bin/vlmcsd", "-D", "-d","-e","-v"]