From c9732daffabf86bdf825dabe22949da061f9e08f Mon Sep 17 00:00:00 2001 From: "Kali Kaneko (leap communications)" Date: Mon, 1 Oct 2018 23:58:37 +0200 Subject: [pkg] add docker files to build riseup-vpn --- docker/Dockerfile | 23 +++++++++++++++++++++++ docker/Makefile | 10 ++++++++++ 2 files changed, 33 insertions(+) create mode 100644 docker/Dockerfile create mode 100644 docker/Makefile (limited to 'docker') 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 +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 -- cgit v1.2.3