mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-24 01:51:39 +00:00
Update Dockerfile
This commit is contained in:
parent
bcbab8640c
commit
0371e222c7
@ -57,8 +57,7 @@ RUN buildDeps=" \
|
||||
&& mkdir -p /usr/src/qbittorrent \
|
||||
&& tar -xzf qbittorrent.tar.gz -C /usr/src/qbittorrent --strip-components=1 \
|
||||
&& rm qbittorrent.tar.gz* \
|
||||
&& export EXECINFO=$(grep -rne 'include <execinfo.h>' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \
|
||||
&& exec /bin/bash sed -i "$(EXECINFO)s/.*/" /usr/src/qbittorrent/src/app/main.cpp \
|
||||
&& sed -i "$(grep -rne 'include <execinfo.h>' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+')s/.*/" /usr/src/qbittorrent/src/app/main.cpp \
|
||||
&& export STACKTRACE=$(grep -rne 'include "stacktrace.h"' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \
|
||||
&& sed -i "$STACKTRACEs/.*/" /usr/src/qbittorrent/src/app/main.cpp \
|
||||
&& cd /usr/src/qbittorrent/ \
|
||||
|
Loading…
Reference in New Issue
Block a user