Skip to content

Commit

Permalink
更新clash premium
Browse files Browse the repository at this point in the history
  • Loading branch information
Kiteflyingee committed Apr 25, 2023
1 parent e4894b9 commit 18edc4a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ COPY . .
ADD Country.mmdb /root/.config/clash/Country.mmdb
ADD config.yaml /root/.config/clash/config.yaml

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

RUN apk update && apk add --no-cache openssl ca-certificates && \
gunzip clash-linux-amd64-v1.14.0.gz && \
chmod +x clash-linux-amd64-v1.14.0 && \
mv clash-linux-amd64-v1.14.0 /usr/local/bin/clash
gunzip clash-linux-amd64.gz && \
chmod +x clash-linux-amd64 && \
mv clash-linux-amd64 /usr/local/bin/clash

RUN chmod +x docker/entrypoint.sh
ENTRYPOINT ["docker/entrypoint.sh"]
Binary file removed clash-linux-amd64-v1.14.0.gz
Binary file not shown.
Binary file added clash-linux-amd64.gz
Binary file not shown.

0 comments on commit 18edc4a

Please sign in to comment.