summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
authorIvan Alejandro <ivanalejandro0@gmail.com>2015-08-31 17:48:53 -0300
committerKali Kaneko <kali@leap.se>2015-09-08 16:34:39 -0400
commit44fdb81e6e70a5db7989856562e4ff2429027016 (patch)
tree09d823def0f6612a654e5c2f28d79671a3994edb /docker/Dockerfile
parentf55ad5698d989bc8185cb7b5eb552e1adebb0b39 (diff)
[feat] run bitmask inside a docker container
Diffstat (limited to 'docker/Dockerfile')
-rw-r--r--docker/Dockerfile31
1 files changed, 31 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile
new file mode 100644
index 00000000..857c3cd0
--- /dev/null
+++ b/docker/Dockerfile
@@ -0,0 +1,31 @@
+FROM ubuntu:trusty
+
+MAINTAINER Ivan Alejandro <ivanalejandro0@gmail.com>
+
+RUN apt-get update && DEBIAN_FRONTEND=noninteractive apt-get install -y --no-install-recommends \
+ g++ \
+ git \
+ libffi-dev \
+ libsqlite3-dev \
+ libssl-dev \
+ openvpn \
+ pyside-tools \
+ python-dev \
+ python-openssl \
+ python-pip \
+ python-pyside \
+ python-setuptools \
+ python-virtualenv \
+ make realpath lxpolkit policykit-1 iptables && \
+ apt-get clean && rm -rf /var/lib/apt/lists/*
+
+
+RUN mkdir -p /bitmask
+WORKDIR /bitmask
+
+COPY leap_bootstrap.sh /bitmask/
+
+VOLUME ["/data/"]
+
+EXPOSE 1984 2013
+ENTRYPOINT ["/bitmask/leap_bootstrap.sh"]