diff options
Diffstat (limited to 'docker')
-rw-r--r-- | docker/Dockerfile | 25 | ||||
-rw-r--r-- | docker/Makefile | 10 |
2 files changed, 35 insertions, 0 deletions
diff --git a/docker/Dockerfile b/docker/Dockerfile new file mode 100644 index 0000000..89df450 --- /dev/null +++ b/docker/Dockerfile @@ -0,0 +1,25 @@ +# An image to build and package the Bitmask Lite (RiseupVPN and other branded builds) +# (c) LEAP Encryption Access Project 2018 +FROM ubuntu:disco + +MAINTAINER LEAP Encryption Access Project <info@leap.se> +LABEL Description="An image to build Bitmask Lite" Vendor="LEAP" Version="1.1" + +RUN apt update && apt upgrade -y + +# Install all the deps for building and packaging bitmask-vpn + +RUN apt install -y --no-install-recommends \ + build-essential \ + make \ + git curl wget \ + golang libappindicator3-dev libgtk-3-dev \ + mingw-w64 upx-ucl python snapcraft \ + unzip \ + devscripts fakeroot debhelper dh-golang golang-golang-x-text-dev + +# we need nsis >= 3.0 +RUN echo 'deb http://archive.ubuntu.com/ubuntu cosmic universe' >> /etc/apt/sources.list +RUN apt update +RUN apt install -y --no-install-recommends -t cosmic nsis + diff --git a/docker/Makefile b/docker/Makefile new file mode 100644 index 0000000..3cd76f1 --- /dev/null +++ b/docker/Makefile @@ -0,0 +1,10 @@ +IMAGE=bitmask-vpn + +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 |