diff --git a/Dockerfile b/Dockerfile index 3c5b77a..59869fa 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,5 +1,6 @@ FROM alpine:3.15 as build COPY . /tmp/ClearDNS +ENV GO_VERSION="1.17.8" ENV UPX_VERSION="3.96" ENV OVERTURE_VERSION="v1.8" ENV DNSPROXY_VERSION="v0.42.0" @@ -7,6 +8,11 @@ ENV ADGUARD_VERSION="v0.107.5" RUN \ apk add git build-base bash make cmake glib-dev go npm nodejs yarn perl ucl-dev zlib-dev && \ \ +wget https://dl.google.com/go/go${GO_VERSION}.src.tar.gz -P /tmp/ && \ +tar -C /usr/local/ -xf /tmp/go${GO_VERSION}.src.tar.gz && \ +cd /usr/local/go/src/ && ./make.bash && \ +apk del go && export PATH=$PATH:/usr/local/go/bin && \ +\ mkdir /tmp/release/ && cd /tmp/ && \ git clone https://github.com/shawn1m/overture.git && \ git clone https://github.com/AdguardTeam/dnsproxy.git && \