mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
update
This commit is contained in:
parent
f1c30ef00e
commit
d55166fdb7
@ -4,7 +4,8 @@ MAINTAINER kev
|
||||
RUN apt-get update
|
||||
RUN apt-get install -y build-essential supervisor dnsmasq
|
||||
|
||||
ADD ./*.conf /etc/supervisor/conf.d/
|
||||
ADD ./services.conf /etc/supervisor/conf.d/
|
||||
ADD ./dnsmasq.conf /etc/
|
||||
ADD https://download.libsodium.org/libsodium/releases/libsodium-1.0.2.tar.gz /tmp/
|
||||
ADD http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.4.3.tar.gz /tmp/
|
||||
|
||||
@ -19,7 +20,7 @@ RUN tar xzf libsodium-1.0.2.tar.gz && \
|
||||
RUN echo /usr/local/lib > /etc/ld.so.conf.d/local.conf && ldconfig
|
||||
|
||||
RUN tar xzf dnscrypt-proxy-1.4.3.tar.gz && \
|
||||
cd dnscrypt-proxy && \
|
||||
cd dnscrypt-proxy-1.4.3 && \
|
||||
./configure && \
|
||||
make && \
|
||||
make install
|
||||
|
@ -1,2 +1,7 @@
|
||||
[program:dnsmasq]
|
||||
command = dnsmasq -d
|
||||
bind-interfaces
|
||||
listen-address=0.0.0.0
|
||||
port=53
|
||||
user=root
|
||||
no-resolv
|
||||
strict-order
|
||||
server=127.0.0.1#2053
|
||||
|
@ -1,2 +1,5 @@
|
||||
[program:dnscrypt]
|
||||
command = dnscrypt-proxy -a 127.0.0.1:2053 -R opendns
|
||||
|
||||
[program:dnsmasq]
|
||||
command = dnsmasq -d
|
Loading…
Reference in New Issue
Block a user