From 0388014636ce25fd1786c8bb79727dd643604f11 Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Thu, 15 Feb 2018 17:32:28 +0100 Subject: [pkg] rename bundling scripts to add clarity --- pkg/docker_bundler_venv/Dockerfile | 23 +++++++++++++++++++++++ pkg/docker_bundler_venv/Makefile | 8 ++++++++ 2 files changed, 31 insertions(+) create mode 100644 pkg/docker_bundler_venv/Dockerfile create mode 100644 pkg/docker_bundler_venv/Makefile (limited to 'pkg/docker_bundler_venv') 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 +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 -- cgit v1.2.3