mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
update
This commit is contained in:
@@ -15,16 +15,16 @@ ENV PROVIDER_KEY B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE0
|
|||||||
RUN apt-get update \
|
RUN apt-get update \
|
||||||
&& apt-get install -y build-essential curl \
|
&& apt-get install -y build-essential curl \
|
||||||
&& mkdir libsodium \
|
&& mkdir libsodium \
|
||||||
&& curl -sSL https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 -C libsodium \
|
|
||||||
&& cd libsodium \
|
&& cd libsodium \
|
||||||
|
&& curl -sSL https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 \
|
||||||
&& ./configure --prefix=/usr --enable-minimal \
|
&& ./configure --prefix=/usr --enable-minimal \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& ldconfig \
|
&& ldconfig \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -rf libsodium \
|
&& rm -rf libsodium \
|
||||||
&& mkdir dnscrypt-proxy \
|
&& mkdir dnscrypt-proxy \
|
||||||
&& curl -sSL http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-$DNSCRYPT_VERSION.tar.gz | tar xz --strip 1 -C dnscrypt-proxy \
|
|
||||||
&& cd dnscrypt-proxy \
|
&& cd dnscrypt-proxy \
|
||||||
|
&& curl -sSL http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-$DNSCRYPT_VERSION.tar.gz | tar xz --strip 1 \
|
||||||
&& ./configure --prefix=/usr --with-plugins \
|
&& ./configure --prefix=/usr --with-plugins \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
|
|||||||
@@ -6,6 +6,8 @@ FROM debian:jessie
|
|||||||
MAINTAINER kev <noreply@datageek.info>
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
ENV LIBSODIUM_VERSION 1.0.3
|
ENV LIBSODIUM_VERSION 1.0.3
|
||||||
|
ENV DNSCRYPT_VERSION 0.1.17
|
||||||
|
https://github.com/Cofyc/dnscrypt-wrapper/releases/download/v0.1.17/dnscrypt-wrapper-v0.1.17.tar.bz2
|
||||||
ENV RESOLVER_ADDR 8.8.8.8:53
|
ENV RESOLVER_ADDR 8.8.8.8:53
|
||||||
ENV LISTEN_ADDR 0.0.0.0:443
|
ENV LISTEN_ADDR 0.0.0.0:443
|
||||||
ENV PROVIDER_NAME 2.dnscrypt-cert.datageek.info
|
ENV PROVIDER_NAME 2.dnscrypt-cert.datageek.info
|
||||||
@@ -19,15 +21,17 @@ RUN apt-get update \
|
|||||||
libevent-2.0 \
|
libevent-2.0 \
|
||||||
libevent-dev \
|
libevent-dev \
|
||||||
&& mkdir libsodium \
|
&& mkdir libsodium \
|
||||||
&& curl -sSL https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 -C libsodium \
|
|
||||||
&& cd libsodium \
|
&& cd libsodium \
|
||||||
|
&& curl -sSL https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 \
|
||||||
&& ./configure --prefix=/usr \
|
&& ./configure --prefix=/usr \
|
||||||
&& make install \
|
&& make install \
|
||||||
&& ldconfig \
|
&& ldconfig \
|
||||||
&& cd .. \
|
&& cd .. \
|
||||||
&& rm -rf libsodium \
|
&& rm -rf libsodium \
|
||||||
&& git clone --recursive git://github.com/Cofyc/dnscrypt-wrapper.git \
|
&& mkdir dnscrypt-wrapper \
|
||||||
&& cd dnscrypt-wrapper \
|
&& cd dnscrypt-wrapper \
|
||||||
|
&& curl -sSL https://github.com/Cofyc/dnscrypt-wrapper/archive/v$DNSCRYPT_VERSION.tar.gz | tar xz --strip 1 \
|
||||||
|
&& curl -sSL https://github.com/Cofyc/argparse/archive/master.tar.gz | tar xz --strip 1 -C argparse \
|
||||||
&& make configure \
|
&& make configure \
|
||||||
&& ./configure --prefix=/usr \
|
&& ./configure --prefix=/usr \
|
||||||
&& make install \
|
&& make install \
|
||||||
|
|||||||
Reference in New Issue
Block a user