forked from satishweb/docker-doh
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
5 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Author: Satish Gaikwad <[email protected]> | ||
FROM golang:1.19-alpine AS doh-build | ||
FROM golang:1.22-alpine AS doh-build | ||
LABEL MAINTAINER [email protected] | ||
|
||
RUN apk add --no-cache git make jq curl | ||
|
@@ -8,7 +8,7 @@ WORKDIR /src | |
|
||
# Lets download latest version of DOH | ||
RUN set -x ;\ | ||
DOH_VERSION_LATEST=v2.3.3 \ | ||
DOH_VERSION_LATEST=v2.3.5 \ | ||
&& curl -L "https://github.com/m13253/dns-over-https/archive/${DOH_VERSION_LATEST}.zip" -o doh.zip \ | ||
&& unzip doh.zip \ | ||
&& rm doh.zip \ | ||
|
@@ -18,7 +18,7 @@ RUN set -x ;\ | |
&& cp doh-server/doh-server /dist/doh-server \ | ||
&& echo ${DOH_VERSION_LATEST} > /dist/doh-server.version | ||
|
||
FROM alpine:3.16 | ||
FROM alpine:3.19 | ||
LABEL MAINTAINER [email protected] | ||
|
||
COPY --from=doh-build /dist /server | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
# Author: Satish Gaikwad <[email protected]> | ||
FROM golang:1.19-buster AS doh-build | ||
FROM golang:1.22-bookworm AS doh-build | ||
LABEL MAINTAINER [email protected] | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
|
@@ -16,7 +16,7 @@ WORKDIR /src | |
|
||
# Lets download latest version of DOH | ||
RUN set -x ;\ | ||
DOH_VERSION_LATEST=v2.3.3 \ | ||
DOH_VERSION_LATEST=v2.3.5 \ | ||
&& curl -L "https://github.com/m13253/dns-over-https/archive/${DOH_VERSION_LATEST}.zip" -o doh.zip \ | ||
&& unzip doh.zip \ | ||
&& rm doh.zip \ | ||
|