mirror of
https://github.com/MarkusMcNugen/docker-qBittorrentvpn
synced 2024-12-26 11:01:42 +00:00
Update Dockerfile
This commit is contained in:
parent
9b651eb258
commit
b36e73a2da
@ -57,9 +57,9 @@ RUN buildDeps=" \
|
||||
&& mkdir -p /usr/src/qbittorrent \
|
||||
&& tar -xzf qbittorrent.tar.gz -C /usr/src/qbittorrent --strip-components=1 \
|
||||
&& rm qbittorrent.tar.gz* \
|
||||
&& EXECINFO=$(grep -rne 'include <execinfo.h>' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \
|
||||
&& export EXECINFO=$(grep -rne 'include <execinfo.h>' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \
|
||||
&& sed -i "$(EXECINFO)s/.*/" /usr/src/qbittorrent/src/app/main.cpp \
|
||||
&& STACKTRACE=$(grep -rne 'include "stacktrace.h"' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \
|
||||
&& export STACKTRACE=$(grep -rne 'include "stacktrace.h"' /usr/src/qbittorrent/src/app/main.cpp | grep -Eo '^[^:]+') \
|
||||
&& sed -i "$(STACKTRACE)s/.*/" /usr/src/qbittorrent/src/app/main.cpp \
|
||||
&& cd /usr/src/qbittorrent/ \
|
||||
&& ./configure --disable-gui --prefix=/usr \
|
||||
|
Loading…
Reference in New Issue
Block a user