forked from mitmproxy/mitmproxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
bf7b76a
commit 3bd36b5
Showing
3 changed files
with
31 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
.git |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
FROM mitmproxy/base:onbuild | ||
EXPOSE 8080 | ||
EXPOSE 8081 | ||
VOLUME /certs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
FROM debian:jessie | ||
|
||
ENV DEBIAN_FRONTEND noninteractive | ||
ENV PYTHON /usr/bin/python2.7 | ||
|
||
RUN apt-get update && \ | ||
apt-get install -qq -y --no-install-recommends \ | ||
build-essential \ | ||
python-pip \ | ||
python-dev \ | ||
python-setuptools \ | ||
libffi-dev \ | ||
libxml2-dev \ | ||
libxslt1-dev \ | ||
git \ | ||
zlib1g-dev \ | ||
libssl-dev && \ | ||
rm -rf /var/lib/apt/lists/* | ||
|
||
ENV LANG en_US.UTF-8 | ||
ENV LC_ALL C.UTF-8 | ||
|
||
ONBUILD ADD . /opt/mitmproxy | ||
ONBUILD WORKDIR /opt/mitmproxy | ||
ONBUILD RUN [ ! -e requirements.txt ] || pip install -r requirements.txt && \ | ||
rm -rf ~/.cache/pip /tmp/pip_build_root |