1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00

update dnscrypt

This commit is contained in:
kev 2016-02-25 09:49:26 +08:00
parent bf9a6db596
commit b44856daf6
2 changed files with 7 additions and 4 deletions

View File

@ -12,7 +12,8 @@ ENV RESOLVER_ADDR 208.67.220.220:443
ENV PROVIDER_NAME 2.dnscrypt-cert.opendns.com
ENV PROVIDER_KEY B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE04:BFAB:CA43:FB79
RUN apt-get update \
RUN set -xe \
&& apt-get update \
&& apt-get install -y build-essential curl \
&& mkdir libsodium \
&& cd libsodium \

View File

@ -5,13 +5,14 @@
FROM debian:jessie
MAINTAINER kev <noreply@datageek.info>
ENV LIBSODIUM_VERSION 1.0.3
ENV LIBSODIUM_VERSION 1.0.8
ENV DNSCRYPT_VERSION 0.2
ENV RESOLVER_ADDR 8.8.8.8:53
ENV LISTEN_ADDR 0.0.0.0:443
ENV PROVIDER_NAME 2.dnscrypt-cert.datageek.info
RUN apt-get update \
RUN set -xe \
&& apt-get update \
&& apt-get install -y autoconf \
automake \
build-essential \
@ -43,7 +44,8 @@ RUN apt-get update \
libevent-dev \
&& rm -rf /var/lib/apt/lists/*
RUN mkdir -p /var/lib/dnscrypt-wrapper \
RUN set -xe \
&& mkdir -p /var/lib/dnscrypt-wrapper \
&& cd /var/lib/dnscrypt-wrapper \
&& dnscrypt-wrapper --gen-provider-keypair > README.txt \
&& dnscrypt-wrapper --gen-crypt-keypair --crypt-secretkey-file=1.key \