1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-16 11:37:32 +02:00
dockerfiles/dnscrypt/Dockerfile

29 lines
735 B
Docker
Raw Normal View History

2015-03-02 05:26:21 +02:00
FROM ubuntu:14.04
MAINTAINER kev
RUN apt-get update
RUN apt-get install -y build-essential supervisor dnsmasq
2015-03-02 05:34:47 +02:00
ADD ./services.conf /etc/supervisor/conf.d/
ADD ./dnsmasq.conf /etc/
2015-03-02 05:26:21 +02:00
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/
WORKDIR /tmp
RUN tar xzf libsodium-1.0.2.tar.gz && \
cd libsodium-1.0.2 && \
./configure && \
make && \
make install
RUN echo /usr/local/lib > /etc/ld.so.conf.d/local.conf && ldconfig
RUN tar xzf dnscrypt-proxy-1.4.3.tar.gz && \
2015-03-02 05:34:47 +02:00
cd dnscrypt-proxy-1.4.3 && \
2015-03-02 05:26:21 +02:00
./configure && \
make && \
make install
CMD supervisor -n -c /etc/supervisor/supervisord.conf