Add missing dependencies, fix ownership issue and add --debug

This commit is contained in:
Henrik Jonsson 2017-05-19 21:14:04 +02:00
parent a6e6d049f3
commit e97604c8c9
2 changed files with 4 additions and 2 deletions

View File

@ -15,6 +15,8 @@ RUN apt-get update && \
apt-get install -y \
ca-certificates \
curl \
file \
libx11-xcb1 \
libasound2 \
libdbus-glib-1-2 \
libgtk2.0-0 \
@ -39,7 +41,7 @@ RUN curl --fail -O -sSL ${RELEASE_URL} && \
tar --strip-components=1 -vxJf ${RELEASE_FILE} && \
rm -v ${RELEASE_FILE}* sha256sums.txt && \
mkdir -p /usr/local/bin/Browser/Downloads && \
chown -R user:user /usr/local/bin/Browser/Downloads
chown -R user:user /usr/local/bin
WORKDIR /usr/local/bin/Browser/Downloads
USER user

2
start
View File

@ -17,5 +17,5 @@ if [[ "$TORRC_PATH" ]]; then
fi
echo "$(date) [ $(basename $0) ] Starting tor-browser with extra args '$@'.."
start-tor-browser "$@"
start-tor-browser "$@" --debug
echo "$(date) [ $(basename $0) ] The tor-browser process exited."