summaryrefslogtreecommitdiff
path: root/pkg/docker_build_riseupvpn
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/docker_build_riseupvpn')
-rw-r--r--pkg/docker_build_riseupvpn13
1 files changed, 9 insertions, 4 deletions
diff --git a/pkg/docker_build_riseupvpn b/pkg/docker_build_riseupvpn
index 4cffcb49..ab859c27 100644
--- a/pkg/docker_build_riseupvpn
+++ b/pkg/docker_build_riseupvpn
@@ -7,24 +7,29 @@
# build bitmask-systray
export GOPATH=/srv/go
+echo "[+] Building deps for bitmask-systray..."
go get 0xacab.org/leap/bitmask-systray
cd /src/leap && git clone https://0xacab.org/leap/bitmask-systray
cd bitmask-systray && go build .
-
cd /src/leap/bitmask-dev
-RELEASE=bitmask-`cat pkg/next-version`
cd $HOME
echo "[+] CLONING REPO from $REPO [$BRANCH]"
git clone $REPO bitmaskbuild
cd bitmaskbuild
+RELEASE=bitmask-`cat pkg/next-version`
+echo "[+] RELEASE: $RELEASE"
git checkout $BRANCH
git fetch --tags
mkdir -p dist/
# nuke mail
rm -rf src/leap/bitmask/mail
+
+# get anonvpn bundle
+VIRTUAL_ENV=/usr/local make bundle_anonvpn_linux
+# copy systray binary
cp /src/leap/bitmask-systray/bitmask-systray dist/${RELEASE}/lib/
-VIRTUAL_ENV=/usr/local make bundle_linux
+# rename entrypoing
+mv dist/${RELEASE}/bitmask dist/${RELEASE}/riseupvpn
cp -r dist/* /dist
-