summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
authorKali Kaneko <kali@leap.se>2018-02-12 20:12:33 +0100
committerKali Kaneko <kali@leap.se>2018-02-15 16:36:44 +0100
commitc0ee680866c6ccf60a0318e120de3f42cbb4992a (patch)
treedc597743b49e257b6bf1a9f0ccd749eaa5b084ad /pkg
parent91f2b6d8e06de864cd6f43d06b5581ec101f94ff (diff)
[pkg] add target for docker_apt bundler
Diffstat (limited to 'pkg')
-rw-r--r--pkg/docker_build_apt13
1 files changed, 13 insertions, 0 deletions
diff --git a/pkg/docker_build_apt b/pkg/docker_build_apt
new file mode 100644
index 00000000..53dc9fe7
--- /dev/null
+++ b/pkg/docker_build_apt
@@ -0,0 +1,13 @@
+# This script gets executed inside the docker-bundler-apt image.
+# (no virtualenv, so all the dependencies must be already installed in the image).
+
+: ${REPO:="https://github.com/leapcode/bitmask-dev"}
+: ${BRANCH:="master"}
+
+RELEASE=bitmask-`cat pkg/next-version`
+echo "[+] CLONING REPO from $REPO [$BRANCH]"
+git clone $REPO bitmaskbuild
+cd bitmaskbuild
+git checkout $BRANCH
+mkdir -p dist/
+VIRTUAL_ENV=/usr/local make bundle