Add missing dependencies, fix ownership issue and add --debug
This commit is contained in:
parent
a6e6d049f3
commit
e97604c8c9
@ -15,6 +15,8 @@ RUN apt-get update && \
|
|||||||
apt-get install -y \
|
apt-get install -y \
|
||||||
ca-certificates \
|
ca-certificates \
|
||||||
curl \
|
curl \
|
||||||
|
file \
|
||||||
|
libx11-xcb1 \
|
||||||
libasound2 \
|
libasound2 \
|
||||||
libdbus-glib-1-2 \
|
libdbus-glib-1-2 \
|
||||||
libgtk2.0-0 \
|
libgtk2.0-0 \
|
||||||
@ -39,7 +41,7 @@ RUN curl --fail -O -sSL ${RELEASE_URL} && \
|
|||||||
tar --strip-components=1 -vxJf ${RELEASE_FILE} && \
|
tar --strip-components=1 -vxJf ${RELEASE_FILE} && \
|
||||||
rm -v ${RELEASE_FILE}* sha256sums.txt && \
|
rm -v ${RELEASE_FILE}* sha256sums.txt && \
|
||||||
mkdir -p /usr/local/bin/Browser/Downloads && \
|
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
|
WORKDIR /usr/local/bin/Browser/Downloads
|
||||||
USER user
|
USER user
|
||||||
|
2
start
2
start
@ -17,5 +17,5 @@ if [[ "$TORRC_PATH" ]]; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
echo "$(date) [ $(basename $0) ] Starting tor-browser with extra args '$@'.."
|
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."
|
echo "$(date) [ $(basename $0) ] The tor-browser process exited."
|
||||||
|
Loading…
Reference in New Issue
Block a user