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
26
26
Extension /openwpm.xpi
27
27
Extension /src /content.js
28
28
Extension /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
2
2
3
3
SHELL ["/bin/bash" , "-c" ]
4
4
Original file line number Diff line number Diff line change @@ -272,7 +272,7 @@ Then you can run the demo script using:
272
272
` ` ` bash
273
273
mkdir -p docker-volume && docker run -v $PWD /docker-volume:/opt/OpenWPM/datadir \
274
274
-e DISPLAY=$DISPLAY -v /tmp/.X11-unix:/tmp/.X11-unix --shm-size=2g \
275
- -it openwpm
275
+ -it --init openwpm
276
276
` ` `
277
277
278
278
** 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__/
15
15
16
16
# Allow access to XQuartz for the current IP
17
17
export IP=$( ifconfig en0 | grep inet | awk ' $1=="inet" {print $2}' )
18
- xhost + $IP
18
+ xhost + " $IP "
19
19
export DISPLAY=$IP :0
20
20
21
21
# start the docker environment with X server forwarding
22
22
if [ " $# " == 0 ]; then
23
23
echo " Starting a shell in the Docker environment"
24
24
else
25
- echo " Running '$@ ' in the Docker environment"
25
+ echo " Running '$* ' in the Docker environment"
26
26
fi
27
27
docker 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