File tree 3 files changed +4
-3
lines changed
3 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ COPY . .
10
10
ADD Country.mmdb /root/.config/clash/Country.mmdb
11
11
ADD config.yaml /root/.config/clash/config.yaml
12
12
13
+ RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
13
14
RUN apk add --no-cache bash ffmpeg espeak \
14
15
&& cp config-template.json config.json \
15
16
&& /usr/local/bin/python -m pip install --no-cache --upgrade pip \
@@ -18,9 +19,9 @@ RUN apk add --no-cache bash ffmpeg espeak \
18
19
&& pip install --no-cache -r requirements-optional.txt -i https://pypi.tuna.tsinghua.edu.cn/simple --extra-index-url https://alpine-wheels.github.io/index
19
20
20
21
RUN apk update && apk add --no-cache openssl ca-certificates && \
21
- gunzip clash-linux-amd64-v1.14.0 .gz && \
22
- chmod +x clash-linux-amd64-v1.14.0 && \
23
- mv clash-linux-amd64-v1.14.0 /usr/local/bin/clash
22
+ gunzip clash-linux-amd64.gz && \
23
+ chmod +x clash-linux-amd64 && \
24
+ mv clash-linux-amd64 /usr/local/bin/clash
24
25
25
26
RUN chmod +x docker/entrypoint.sh
26
27
ENTRYPOINT ["docker/entrypoint.sh" ]
You can’t perform that action at this time.
0 commit comments