From bf0378257afcb8fa2542e5cf904691ec5fdd74b1 Mon Sep 17 00:00:00 2001 From: Ivan Alejandro Date: Wed, 9 Sep 2015 13:24:45 -0300 Subject: [feat] use docker to test .deb packages Add scripts to easily test (stable or unstable) debian packages. - Resolves: #6715 --- docker/debian/run-docker-for-bitmask.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100755 docker/debian/run-docker-for-bitmask.sh (limited to 'docker/debian/run-docker-for-bitmask.sh') diff --git a/docker/debian/run-docker-for-bitmask.sh b/docker/debian/run-docker-for-bitmask.sh new file mode 100755 index 00000000..9ffb400b --- /dev/null +++ b/docker/debian/run-docker-for-bitmask.sh @@ -0,0 +1,22 @@ +#!/bin/sh +# NOTE: to get X11 socket forwarding to work we need this +xhost local:root + +docker run --rm -it \ + --net host \ + --privileged \ + -v /tmp/.X11-unix:/tmp/.X11-unix \ + -e DISPLAY=unix$DISPLAY \ + -v `pwd`:/host/ \ + -p 1984:1984 -p 2013:2013 \ + ubuntu:vivid bash + +# NOTE: what to do next? +# Install bitmask package: +# $ apt-bitmask.sh stable +# Install polkit agent (bitmask needs it): +# $ apt-get install lxpolkit +# Run polkit in background: +# $ lxpolkit & # this will show you a message like: 'No session for pid 5801', ignore it +# Run bitmask: +# $ bitmask -d -- cgit v1.2.3