summaryrefslogtreecommitdiff
path: root/pkg/docker_bundler_venv
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-15 17:32:28 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 17:32:28 +0100
commit0388014636ce25fd1786c8bb79727dd643604f11 (patch)
tree38a8c9553488e5cce07dc444efdc5e4145c66f75 /pkg/docker_bundler_venv
parent16e8c9179b15f10570670e6068f87357427fd12b (diff)
[pkg] rename bundling scripts to add clarity
Diffstat (limited to 'pkg/docker_bundler_venv')
-rw-r--r--pkg/docker_bundler_venv/Dockerfile23
-rw-r--r--pkg/docker_bundler_venv/Makefile8
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