Skip to content

Commit

Permalink
chore: security fix for golang/go#51112
Browse files Browse the repository at this point in the history
  • Loading branch information
dnomd343 committed Mar 28, 2022
1 parent f3533fc commit 87ae623
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -1,12 +1,18 @@
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"
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 && \
Expand Down

0 comments on commit 87ae623

Please sign in to comment.