blob: 8ae84847c7884e835615fa38bd6e3d09dea9717e [file] [log] [blame]
A R Karthicke3bde962016-09-27 15:06:35 -07001FROM xosproject/xos-synchronizer-openstack
2
3RUN DEBIAN_FRONTEND=noninteractive apt-get update && apt-get install -y \
4 openvpn
5
6# for OpenVPN
7RUN mkdir -p /opt/openvpn
8RUN chmod 777 /opt/openvpn
9RUN git clone https://github.com/OpenVPN/easy-rsa.git /opt/openvpn
10RUN git -C /opt/openvpn pull origin master
11RUN echo 'set_var EASYRSA "/opt/openvpn/easyrsa3"' | tee /opt/openvpn/vars
12RUN echo 'set_var EASYRSA_BATCH "true"' | tee -a /opt/openvpn/vars