2
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2026-01-04 03:54:55 +01:00
This commit is contained in:
kev
2015-07-17 01:01:07 +08:00
parent c72cc1e710
commit 56280333e8
2 changed files with 8 additions and 4 deletions

View File

@@ -15,16 +15,16 @@ ENV PROVIDER_KEY B735:1140:206F:225D:3E2B:D822:D7FD:691E:A1C3:3CC8:D666:8D0C:BE0
RUN apt-get update \
&& apt-get install -y build-essential curl \
&& mkdir libsodium \
&& curl -sSL https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 -C 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 \
&& make install \
&& ldconfig \
&& cd .. \
&& rm -rf libsodium \
&& 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 \
&& curl -sSL http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-$DNSCRYPT_VERSION.tar.gz | tar xz --strip 1 \
&& ./configure --prefix=/usr --with-plugins \
&& make install \
&& cd .. \