|
|
|
@ -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} |
|
|
|
|
|
|
|
|