1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-12-25 02:04:06 +02:00
This commit is contained in:
kev 2015-03-02 11:51:23 +08:00
parent d55166fdb7
commit a96194843d

View File

@ -1,15 +1,20 @@
#
# Dockerfile for dnscrypt
#
FROM ubuntu:14.04
MAINTAINER kev
MAINTAINER kev <noreply@datageek.info>
RUN apt-get update
RUN apt-get install -y build-essential supervisor dnsmasq
RUN apt-get clean
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/
ADD https://download.libsodium.org/libsodium/releases/libsodium-1.0.2.tar.gz /tmp/pkgs/
ADD http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.4.3.tar.gz /tmp/pkgs/
WORKDIR /tmp
WORKDIR /tmp/pkgs/
RUN tar xzf libsodium-1.0.2.tar.gz && \
cd libsodium-1.0.2 && \
@ -25,4 +30,8 @@ RUN tar xzf dnscrypt-proxy-1.4.3.tar.gz && \
make && \
make install
WORKDIR /
RUN rm -r /tmp/pkgs/
CMD supervisor -n -c /etc/supervisor/supervisord.conf