Dockerfile 308 Bytes
Newer Older
Sheogorath's avatar
Sheogorath committed
1
2
FROM golang

Sheogorath's avatar
Sheogorath committed
3
4
ARG VERSION=master

Sheogorath's avatar
Sheogorath committed
5
RUN true \
Sheogorath's avatar
Sheogorath committed
6
    && git clone https://github.com/m13253/dns-over-https.git --depth 1 -b "$VERSION" \
Sheogorath's avatar
Sheogorath committed
7
8
9
10
11
12
13
14
15
    && cd dns-over-https \
    && make \
    && true

COPY ./entrypoint.sh /usr/local/bin/entrypoint

ENTRYPOINT ["entrypoint"]

CMD ["./dns-over-https/doh-server/doh-server"]