From f69b59b120933583edc4f597f53c850a9dfb2952 Mon Sep 17 00:00:00 2001 From: litcc Date: Sat, 14 Sep 2024 21:56:38 +0800 Subject: [PATCH] fix: executable privilege (#589) Fixing `/usr/bin/clash` not having executable permissions in the image --- .github/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/Dockerfile b/.github/Dockerfile index d40aa9db9..2e39e5006 100644 --- a/.github/Dockerfile +++ b/.github/Dockerfile @@ -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/" ] \ No newline at end of file