Commit 636a58b3 authored by Li Mi's avatar Li Mi Committed by GitHub

更新smartdns

parent fb5f3669
...@@ -6,9 +6,10 @@ RUN curl https://api.github.com/repos/pymumu/smartdns/releases/latest \ ...@@ -6,9 +6,10 @@ RUN curl https://api.github.com/repos/pymumu/smartdns/releases/latest \
| grep smartdns-x86_64 \ | grep smartdns-x86_64 \
| cut -d '"' -f 4 \ | cut -d '"' -f 4 \
| wget -i - | wget -i -
RUN chmod +x smartdns-x86_64
# 第二阶段,只有二进制文件 # 第二阶段,只有二进制文件
FROM alpine FROM alpine
RUN apk update && \ RUN apk update && \
apk add ca-certificates apk add ca-certificates
COPY --from=0 /smartdns-x86_64 /smartdns COPY --from=0 /smartdns-x86_64 /smartdns
ENTRYPOINT [ "/smartdns" ] ENTRYPOINT [ "/smartdns" ]
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment