summaryrefslogtreecommitdiff
path: root/pkg
diff options
context:
space:
mode:
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