From c0ee680866c6ccf60a0318e120de3f42cbb4992a Mon Sep 17 00:00:00 2001 From: Kali Kaneko Date: Mon, 12 Feb 2018 20:12:33 +0100 Subject: [pkg] add target for docker_apt bundler --- pkg/docker_build_apt | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 pkg/docker_build_apt (limited to 'pkg') 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 -- cgit v1.2.3