mirror of
https://github.com/vimagick/dockerfiles.git
synced 2025-12-21 21:33:02 +01:00
fix curl
This commit is contained in:
@@ -9,9 +9,6 @@ RUN apt-get update
|
|||||||
RUN apt-get install -y build-essential pdnsd haproxy nginx
|
RUN apt-get install -y build-essential pdnsd haproxy nginx
|
||||||
RUN apt-get clean
|
RUN apt-get clean
|
||||||
|
|
||||||
RUN curl -sSL https://bootstrap.pypa.io/get-pip.py | python
|
|
||||||
RUN pip install supervisor shadowsocks
|
|
||||||
|
|
||||||
ADD ./supervisord.conf /etc/supervisor/
|
ADD ./supervisord.conf /etc/supervisor/
|
||||||
ADD ./services.conf /etc/supervisor/conf.d/
|
ADD ./services.conf /etc/supervisor/conf.d/
|
||||||
ADD ./pdnsd.conf /etc/
|
ADD ./pdnsd.conf /etc/
|
||||||
@@ -20,17 +17,16 @@ ADD ./haproxy.cfg /etc/haproxy/
|
|||||||
|
|
||||||
ADD https://download.libsodium.org/libsodium/releases/libsodium-1.0.2.tar.gz /tmp/pkgs/
|
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/
|
ADD http://download.dnscrypt.org/dnscrypt-proxy/dnscrypt-proxy-1.4.3.tar.gz /tmp/pkgs/
|
||||||
|
ADD https://bootstrap.pypa.io/get-pip.py /tmp/pkgs/
|
||||||
|
|
||||||
WORKDIR /tmp/pkgs/
|
WORKDIR /tmp/pkgs/
|
||||||
|
RUN pip install supervisor shadowsocks
|
||||||
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 && \
|
||||||
./configure && \
|
./configure && \
|
||||||
make && \
|
make && \
|
||||||
make install
|
make install
|
||||||
|
|
||||||
RUN echo /usr/local/lib > /etc/ld.so.conf.d/local.conf && ldconfig
|
RUN echo /usr/local/lib > /etc/ld.so.conf.d/local.conf && ldconfig
|
||||||
|
|
||||||
RUN tar xzf dnscrypt-proxy-1.4.3.tar.gz && \
|
RUN tar xzf dnscrypt-proxy-1.4.3.tar.gz && \
|
||||||
cd dnscrypt-proxy-1.4.3 && \
|
cd dnscrypt-proxy-1.4.3 && \
|
||||||
./configure && \
|
./configure && \
|
||||||
|
|||||||
Reference in New Issue
Block a user