File tree Expand file tree Collapse file tree 4 files changed +9
-8
lines changed
Expand file tree Collapse file tree 4 files changed +9
-8
lines changed Original file line number Diff line number Diff line change @@ -26,3 +26,4 @@ Extension/dist
2626Extension /openwpm.xpi
2727Extension /src /content.js
2828Extension /src /feature.js
29+ Extension /build
Original file line number Diff line number Diff line change 1- FROM krallin/ ubuntu-tini:bionic
1+ FROM ubuntu:xenial
22
33SHELL ["/bin/bash" , "-c" ]
44
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ Then you can run the demo script using:
272272` ` ` bash
273273 mkdir -p docker-volume && docker run -v $PWD /docker-volume:/opt/OpenWPM/datadir \
274274 -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --shm-size=2g \
275- -it openwpm
275+ -it --init openwpm
276276` ` `
277277
278278** Note:** the ` --shm-size=2g` parameter is required, as it increases the
Original file line number Diff line number Diff line change @@ -15,17 +15,17 @@ rm -rf test/__pycache__/
1515
1616# Allow access to XQuartz for the current IP
1717export IP=$( ifconfig en0 | grep inet | awk ' $1=="inet" {print $2}' )
18- xhost + $IP
18+ xhost + " $IP "
1919export DISPLAY=$IP :0
2020
2121# start the docker environment with X server forwarding
2222if [ " $# " == 0 ]; then
2323 echo " Starting a shell in the Docker environment"
2424else
25- echo " Running '$@ ' in the Docker environment"
25+ echo " Running '$* ' in the Docker environment"
2626fi
2727docker run \
28- -v $PWD /docker-volume:/home/user/Desktop/ \
29- -v $PWD :/opt/OpenWPM/ \
30- -e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --shm-size=2g \
31- -it openwpm $@
28+ -v " $PWD " /docker-volume:/home/user/Desktop/ \
29+ -v " $PWD " :/opt/OpenWPM/ \
30+ -e DISPLAY=" $DISPLAY " -v /tmp/.X11-unix:/tmp/.X11-unix --shm-size=2g \
31+ -it --init openwpm " $@ "
You can’t perform that action at this time.
0 commit comments