Commit 09dea0bb authored by Li Mi's avatar Li Mi

找回丢失的文件

parent d5a4c913
FROM alpine
RUN apk update && \
apk add wget curl unzip tar gzip ca-certificates
RUN curl https://api.github.com/repos/AdguardTeam/AdGuardHome/releases/latest \
| grep browser_download_url \
| grep AdGuardHome_linux_amd64.tar.gz \
| cut -d '"' -f 4 \
| wget -i -
RUN tar xvzf AdGuardHome_linux_amd64.tar.gz
# 第二阶段,只有二进制文件
FROM alpine
COPY --from=0 /AdGuardHome/AdGuardHome /AdGuardHome
ENTRYPOINT [ "/AdGuardHome" ]
\ No newline at end of file
gzzchh/stacks:adguard: ccr.ccs.tencentyun.com/gzzchh/stacks:adguard
FROM alpine
RUN apk --no-cache add dnsmasq
ENTRYPOINT ["dnsmasq", "-k"]
\ No newline at end of file
gzzchh/stacks:dnsmasq: ccr.ccs.tencentyun.com/gzzchh/stacks:dnsmasq
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