Skip to content

Commit

Permalink
fix: executable privilege (#589)
Browse files Browse the repository at this point in the history
Fixing `/usr/bin/clash` not having executable permissions in the image
  • Loading branch information
litcc authored Sep 14, 2024
1 parent 5e7dc33 commit f69b59b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ FROM alpine:latest
ARG TARGETARCH
COPY ./clash-rs/clash-${TARGETARCH} /usr/bin/clash
# The yq library installed here is used to rewrite the config.yaml configuration file for clash, merge it, and other related operations.
RUN apk update && apk add --no-cache -f yq && mkdir -p /root/.config/clash/
RUN apk update && apk add --no-cache -f yq && mkdir -p /root/.config/clash/ && chmod +x /usr/bin/clash
WORKDIR /root
ENTRYPOINT [ "/usr/bin/clash" ]
CMD [ "-d", "/root/.config/clash/" ]

0 comments on commit f69b59b

Please sign in to comment.