Skip to content

Commit 18edc4a

Browse files
committedApr 25, 2023
更新clash premium
1 parent e4894b9 commit 18edc4a

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed
 

‎Dockerfile

+4-3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ COPY . .
1010
ADD Country.mmdb /root/.config/clash/Country.mmdb
1111
ADD config.yaml /root/.config/clash/config.yaml
1212

13+
RUN set -eux && sed -i 's/dl-cdn.alpinelinux.org/mirrors.ustc.edu.cn/g' /etc/apk/repositories
1314
RUN apk add --no-cache bash ffmpeg espeak \
1415
&& cp config-template.json config.json \
1516
&& /usr/local/bin/python -m pip install --no-cache --upgrade pip \
@@ -18,9 +19,9 @@ RUN apk add --no-cache bash ffmpeg espeak \
1819
&& 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
1920

2021
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
2425

2526
RUN chmod +x docker/entrypoint.sh
2627
ENTRYPOINT ["docker/entrypoint.sh"]

‎clash-linux-amd64-v1.14.0.gz

-3.66 MB
Binary file not shown.

‎clash-linux-amd64.gz

5.63 MB
Binary file not shown.

0 commit comments

Comments
 (0)
Please sign in to comment.