diff options
author | Kali Kaneko (leap communications) <kali@leap.se> | 2018-10-01 23:58:37 +0200 |
---|---|---|
committer | Kali Kaneko (leap communications) <kali@leap.se> | 2018-10-01 23:58:37 +0200 |
commit | c9732daffabf86bdf825dabe22949da061f9e08f (patch) | |
tree | 0bcf8711f323d77fd42982680137c9343c6eb469 | |
parent | 7f6df66dbf74a54be0b135de0ff6dea70b0d096e (diff) |
[pkg] add docker files to build riseup-vpn
-rw-r--r-- | README.rst (renamed from README.txt) | 6 | ||||
-rw-r--r-- | docker/Dockerfile | 23 | ||||
-rw-r--r-- | docker/Makefile | 10 |
3 files changed, 36 insertions, 3 deletions
@@ -1,5 +1,5 @@ RiseupVPN ------------------------ +========= Anonymous VPN. Easy, fast, secure. @@ -10,7 +10,7 @@ RiseupVPN is a branded build of Bitmask Lite, written in go. Dependencies ------------------------- +------------ * golang * make @@ -23,7 +23,7 @@ Dependencies (Windows) * nssm Building (Windows) ------------------------- +------------------ make deps_win make openvpn_win diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..f0b902f --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,23 @@ +# An image to build and package the go binary for Bitmask Lite (RiseupVPN) +# LEAP Encryption Access Project 2018 +FROM debian:stretch + +MAINTAINER LEAP Encryption Access Project <info@leap.se> +LABEL Description="An image to build Bitmask Lite" Vendor="LEAP" Version="1.0" + +# we need nsis >= 3.0 +RUN echo 'deb http://http.debian.net/debian testing main' >> /etc/apt/sources.list +RUN apt update && apt upgrade -y + +# Install all the deps for building bitmask-systray +# and riseup-vpn + +RUN apt install -y --no-install-recommends -t testing nsis +RUN apt install -y --no-install-recommends \ + build-essential \ + make \ + curl wget \ + golang libappindicator3-dev libgtk-3-dev \ + mingw-w64 upx-ucl python +RUN apt install -y python3-pip +RUN pip3 install snapcraft diff --git a/docker/Makefile b/docker/Makefile new file mode 100644 index 0000000..f30c7a9 --- /dev/null +++ b/docker/Makefile @@ -0,0 +1,10 @@ +IMAGE=bitmask-systray + +build: + docker build -t 0xacab.org:4567/leap/docker/$(IMAGE):latest . +push: + docker push 0xacab.org:4567/leap/docker/$(IMAGE):latest +prune: + docker system prune +login: + docker login 0xacab.org:4567 |