summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
diff options
context:
space:
mode:
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"]