Skip to content

Commit

Permalink
minor improvements
Browse files Browse the repository at this point in the history
  • Loading branch information
schulterklopfer committed Feb 25, 2020
1 parent c1dabef commit 23bfeea
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion ckbunker_docker/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ RUN \
cd ck-bunker && \
pip install -r requirements.txt && \
pip install --editable . && \
ln -s /sys/bus /dev/bus && \
apt-get remove --purge -y \
git \
build-essential \
Expand Down
2 changes: 1 addition & 1 deletion ckbunker_docker/ckbunker-bash.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
# TODO: get it working without --privileged
docker run -p 9823:9823 -it --privileged --rm --device /dev/usb/hiddev0 cyphernode/ckbunker:latest 0:0 bash
docker run -v $(pwd):/ck-bunker/data -p 9823:9823 -it --device /dev/bus/usb --rm cyphernode/ckbunker:latest 0:0 bash
2 changes: 1 addition & 1 deletion ckbunker_docker/ckbunker.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
#!/usr/bin/env bash
# TODO: get it working without --privileged
docker run -p 9823:9823 --privileged --rm --device /dev/usb/hiddev0 cyphernode/ckbunker:latest 0:0 ckbunker run
docker run -v $(pwd):/ck-bunker/data -p 9823:9823 --rm --device /dev/bus/usb cyphernode/ckbunker:latest 0:0 ckbunker run
2 changes: 1 addition & 1 deletion ckbunker_docker/entrypoint.sh
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#!/usr/bin/env sh

gosu debian-tor tor &
gosu $@
exec gosu $@

0 comments on commit 23bfeea

Please sign in to comment.