1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-24 08:52:15 +02:00

add docker-compose.yml

This commit is contained in:
kev 2016-04-13 23:18:19 +08:00
parent b19d732105
commit 664b974c9e
4 changed files with 9 additions and 2 deletions

View File

@ -19,7 +19,7 @@ RUN set -xe \
curl \
&& mkdir libsodium \
&& cd libsodium \
&& curl -sSL https://download.libsodium.org/libsodium/releases/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/dnscrypt/proxy/arm/libsodium-$LIBSODIUM_VERSION.tar.gz | tar xz --strip 1 \
&& ./configure --prefix=/usr --enable-minimal \
&& make install \
&& ldconfig \
@ -27,7 +27,7 @@ RUN set -xe \
&& rm -rf libsodium \
&& mkdir dnscrypt-proxy \
&& cd dnscrypt-proxy \
&& curl -sSL https://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-$DNSCRYPT_VERSION.tar.gz | tar xz --strip 1 \
&& curl -sSL https://github.com/vimagick/dockerfiles/raw/master/dnscrypt/proxy/arm/dnscrypt-proxy-$DNSCRYPT_VERSION.tar.gz | tar xz --strip 1 \
&& ./configure --prefix=/usr --with-plugins \
&& make install \
&& cd .. \

Binary file not shown.

View File

@ -0,0 +1,7 @@
dnscrypt-proxy:
image: easypi/dnscrypt-proxy-arm
container_name: dnscrypt-proxy
ports:
- "2053:53/tcp"
- "2053:53/udp"
restart: always

Binary file not shown.