Skip to content

Commit 4f365db

Browse files
committed
Strace my way out of this.
1 parent 934d3de commit 4f365db

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
FROM debian:stretch
22
LABEL Description="This image is used to test Tor2web" Version="0.1"
3-
RUN apt-get update && { pkgs="libio-socket-socks-perl libproc-daemon-perl libipc-run-perl libcommon-sense-perl libhttp-daemon-perl libio-socket-ssl-perl python-pip python-setuptools python-dev libffi-dev libssl1.0-dev apparmor apparmor-utils build-essential python-zope.component python-zope.event python-zope.interface"; apt-get install -y $pkgs || apt-get install -y $pkgs; }
3+
RUN apt-get update && { pkgs="strace libio-socket-socks-perl libproc-daemon-perl libipc-run-perl libcommon-sense-perl libhttp-daemon-perl libio-socket-ssl-perl python-pip python-setuptools python-dev libffi-dev libssl1.0-dev apparmor apparmor-utils build-essential python-zope.component python-zope.event python-zope.interface"; apt-get install -y $pkgs || apt-get install -y $pkgs; }
44
RUN mkdir -p /usr/src/github
55
COPY . /usr/src/github/Tor2web
66
RUN pip2 install -r /usr/src/github/Tor2web/requirements.txt

t/bin/tor2web

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
exec python2 /usr/local/bin/tor2web "$@"
1+
exec strace -e trace=\!open,stat,fstat,lseek,rt_sigaction,mmap,mprotect,munmap,access,ioctl,lstat,brk,futex,madvise,fcntl -f -s 800 python2 /usr/local/bin/tor2web "$@"

0 commit comments

Comments
 (0)