mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-01-12 04:23:04 +02:00
update
This commit is contained in:
parent
d55166fdb7
commit
a96194843d
@ -1,15 +1,20 @@
|
|||||||
|
#
|
||||||
|
# Dockerfile for dnscrypt
|
||||||
|
#
|
||||||
|
|
||||||
FROM ubuntu:14.04
|
FROM ubuntu:14.04
|
||||||
MAINTAINER kev
|
MAINTAINER kev <noreply@datageek.info>
|
||||||
|
|
||||||
RUN apt-get update
|
RUN apt-get update
|
||||||
RUN apt-get install -y build-essential supervisor dnsmasq
|
RUN apt-get install -y build-essential supervisor dnsmasq
|
||||||
|
RUN apt-get clean
|
||||||
|
|
||||||
ADD ./services.conf /etc/supervisor/conf.d/
|
ADD ./services.conf /etc/supervisor/conf.d/
|
||||||
ADD ./dnsmasq.conf /etc/
|
ADD ./dnsmasq.conf /etc/
|
||||||
ADD https://download.libsodium.org/libsodium/releases/libsodium-1.0.2.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/
|
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 && \
|
RUN tar xzf libsodium-1.0.2.tar.gz && \
|
||||||
cd libsodium-1.0.2 && \
|
cd libsodium-1.0.2 && \
|
||||||
@ -25,4 +30,8 @@ RUN tar xzf dnscrypt-proxy-1.4.3.tar.gz && \
|
|||||||
make && \
|
make && \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
|
WORKDIR /
|
||||||
|
|
||||||
|
RUN rm -r /tmp/pkgs/
|
||||||
|
|
||||||
CMD supervisor -n -c /etc/supervisor/supervisord.conf
|
CMD supervisor -n -c /etc/supervisor/supervisord.conf
|
||||||
|
Loading…
Reference in New Issue
Block a user