1
0
mirror of https://github.com/vimagick/dockerfiles.git synced 2024-11-28 09:08:36 +02:00
This commit is contained in:
kev 2015-05-24 11:22:31 +08:00
parent f537571059
commit 4476fc8448

View File

@ -2,12 +2,17 @@
# Dockerfile for obfsproxy
#
FROM ubuntu:14.04
FROM debian:jessie
MAINTAINER kev<noreply@datageek.info>
RUN apt-get update && apt-get install -y build-essential curl python python-dev
RUN curl https://bootstrap.pypa.io/get-pip.py | python
RUN pip install obfsproxy
RUN apt-get update \
&& apt-get install -y build-essential curl python python-dev \
&& curl https://bootstrap.pypa.io/get-pip.py | python \
&& pip install obfsproxy \
&& apt-get remove -y build-essential python-dev \
&& apt-get autoremove -y \
&& apt-get clean \
&& rm -rf /var/lib/apt/lists/*
ENV LOG_MIN_SEVERITY info
ENV DATA_DIR /var/lib/obfsproxy