Browse Source

build: dnsproxy version `0.46.0`

dev
Dnomd343 2 years ago
parent
commit
9e29a4659b
  1. 2
      Dockerfile

2
Dockerfile

@ -30,7 +30,7 @@ COPY --from=upx /tmp/upx /usr/bin/
RUN upx -9 /tmp/overture RUN upx -9 /tmp/overture
FROM ${GOLANG} AS dnsproxy FROM ${GOLANG} AS dnsproxy
ENV DNSPROXY="0.45.4" ENV DNSPROXY="0.46.0"
RUN wget https://github.com/AdguardTeam/dnsproxy/archive/refs/tags/v${DNSPROXY}.tar.gz && tar xf v${DNSPROXY}.tar.gz RUN wget https://github.com/AdguardTeam/dnsproxy/archive/refs/tags/v${DNSPROXY}.tar.gz && tar xf v${DNSPROXY}.tar.gz
WORKDIR ./dnsproxy-${DNSPROXY}/ WORKDIR ./dnsproxy-${DNSPROXY}/
RUN env CGO_ENABLED=0 go build -v -trimpath -ldflags "-X main.VersionString=${DNSPROXY} -s -w" && mv dnsproxy /tmp/ RUN env CGO_ENABLED=0 go build -v -trimpath -ldflags "-X main.VersionString=${DNSPROXY} -s -w" && mv dnsproxy /tmp/

Loading…
Cancel
Save