summaryrefslogtreecommitdiff
path: root/pkg/docker_build_apt
blob: 6378990f1d417c5dcf50766a2cd881540d65dad9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# 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"}

cd /src/leap/bitmask-dev
RELEASE=bitmask-`cat pkg/next-version`
cd /src/leap/
echo "[+] CLONING REPO from $REPO [$BRANCH]"
git clone $REPO bitmaskbuild
cd bitmaskbuild
git checkout $BRANCH
mkdir -p dist/
VIRTUAL_ENV=/usr/local make bundle
cp -r dist/* /dist