Browse Source

build: dnsproxy version `0.45.2`

dev
Dnomd343 2 years ago
parent
commit
7e8d3689e8
  1. 2
      Dockerfile

2
Dockerfile

@ -28,7 +28,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.1" ENV DNSPROXY="0.45.2"
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