Browse Source

change smartdns-aarch64 to smartdns-x86_64

main
64味小菜 3 years ago
parent
commit
6a63738917
  1. 2
      smartdns/Dockerfile

2
smartdns/Dockerfile

@ -6,7 +6,7 @@ ARG APK_MIRROR=dl-cdn.alpinelinux.org
RUN sed -i "s/dl-cdn.alpinelinux.org/${APK_MIRROR}/g" /etc/apk/repositories && \
apk add --no-cache --no-progress curl && \
cd / && \
wget --tries=3 -O smartdns $(curl -s https://api.github.com/repos/pymumu/smartdns/releases/latest | grep browser_download_url | egrep -o 'http.://.+/smartdns-aarch64' | head -n1)
wget --tries=3 -O smartdns $(curl -s https://api.github.com/repos/pymumu/smartdns/releases/latest | grep browser_download_url | egrep -o 'http.://.+/smartdns-x86_64' | head -n1)
FROM alpine:${ALPINE_VERSION}

Loading…
Cancel
Save