diff options
Diffstat (limited to 'pkg/docker_bundler_venv')
-rw-r--r-- | pkg/docker_bundler_venv/Dockerfile | 23 | ||||
-rw-r--r-- | pkg/docker_bundler_venv/Makefile | 8 |
2 files changed, 31 insertions, 0 deletions
diff --git a/pkg/docker_bundler_venv/Dockerfile b/pkg/docker_bundler_venv/Dockerfile new file mode 100644 index 00000000..b2974dfe --- /dev/null +++ b/pkg/docker_bundler_venv/Dockerfile @@ -0,0 +1,23 @@ +# This is *almost* a copy of the file that's used for building the bundle docker image. +# The copy that the CI uses is in tests/docker/Dockerfile + +# It has diverged from the original, but it's because I don't want the clutter +# of all the nodejs and friends inside a container for bundling -- kali. + +# Building on ubuntu 17.10 gives glibc version compat errors. +FROM debian:stretch + +MAINTAINER LEAP Encryption Access Project <info@leap.se> +LABEL Description="Image for building Bitmask bundle based on Ubuntu 17:04" Vendor="LEAP" Version="1.1" + +RUN apt update && apt upgrade -y + +# Install bitmask-dev build deps +RUN apt install -y --no-install-recommends \ + build-essential virtualenv libpython-dev \ + libsqlcipher-dev libssl-dev libffi-dev \ + python-pyqt5 python-pyqt5.qtwebkit \ + libqt5printsupport5 \ + qttranslations5-l10n libgl1-mesa-glx \ + libusb-0.1-4 patchelf wget \ + gnupg1 git libgl1-mesa-glx diff --git a/pkg/docker_bundler_venv/Makefile b/pkg/docker_bundler_venv/Makefile new file mode 100644 index 00000000..233a2acc --- /dev/null +++ b/pkg/docker_bundler_venv/Makefile @@ -0,0 +1,8 @@ +IMAGE=bitmask-bundler-venv + +build: + docker build -t 0xacab.org:4567/leap/docker/$(IMAGE):latest . +push: + docker push 0xacab.org:4567/leap/docker/$(IMAGE):latest +login: + docker login 0xacab.org:4567 |