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 /docker | |
parent | 7f6df66dbf74a54be0b135de0ff6dea70b0d096e (diff) |
[pkg] add docker files to build riseup-vpn
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 23 | ||||
-rw-r--r-- | docker/Makefile | 10 |
2 files changed, 33 insertions, 0 deletions
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 |