summaryrefslogtreecommitdiff
path: root/docker/Dockerfile
blob: d5a7b57ee4a5fd8d64635f2c97de40b5765da30c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
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 \
    libzmq-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"]