Another fix for qbittorrent
This commit is contained in:
parent
c0ac0a794d
commit
5105f2e573
|
@ -7,6 +7,7 @@
|
||||||
FROM ghcr.io/truecharts/ubuntu:latest as builder
|
FROM ghcr.io/truecharts/ubuntu:latest as builder
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
ARG BUILDPLATFORM
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
||||||
# hadolint ignore=DL3002
|
# hadolint ignore=DL3002
|
||||||
|
@ -44,8 +45,8 @@ RUN \
|
||||||
;; \
|
;; \
|
||||||
esac \
|
esac \
|
||||||
&& \
|
&& \
|
||||||
export LIBTORRENT_DEB="libtorrent-rasterbar10_1.2.12+git20210118.3efdb8a941-1ppa1~20.04_${LIBTORRENT_ARCH}.deb" \
|
export LIBTORRENT_DEB="libtorrent-rasterbar10_1.2.13+git20210323.34a979720b-1ppa1~20.04_${LIBTORRENT_ARCH}.deb" \
|
||||||
&& export LIBTORRENT_DEV_DEB="libtorrent-rasterbar-dev_1.2.12+git20210118.3efdb8a941-1ppa1~20.04_${LIBTORRENT_ARCH}.deb" \
|
&& export LIBTORRENT_DEV_DEB="libtorrent-rasterbar-dev_1.2.13+git20210323.34a979720b-1ppa1~20.04_${LIBTORRENT_ARCH}.deb" \
|
||||||
&& \
|
&& \
|
||||||
curl -fsSL -o libtorrent-rasterbar.deb \
|
curl -fsSL -o libtorrent-rasterbar.deb \
|
||||||
"https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/${LIBTORRENT_DEB}" \
|
"https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/${LIBTORRENT_DEB}" \
|
||||||
|
@ -69,6 +70,7 @@ RUN \
|
||||||
FROM ghcr.io/truecharts/ubuntu:latest
|
FROM ghcr.io/truecharts/ubuntu:latest
|
||||||
|
|
||||||
ARG TARGETPLATFORM
|
ARG TARGETPLATFORM
|
||||||
|
ARG BUILDPLATFORM
|
||||||
ARG VERSION
|
ARG VERSION
|
||||||
|
|
||||||
# Proper way to set config directory
|
# Proper way to set config directory
|
||||||
|
@ -87,17 +89,13 @@ RUN \
|
||||||
'linux/amd64') \
|
'linux/amd64') \
|
||||||
export LIBTORRENT_ARCH='amd64'; \
|
export LIBTORRENT_ARCH='amd64'; \
|
||||||
;; \
|
;; \
|
||||||
'linux/arm64') \
|
|
||||||
export LIBTORRENT_ARCH='arm64'; \
|
|
||||||
;; \
|
|
||||||
esac \
|
esac \
|
||||||
&& \
|
&& \
|
||||||
export LIBTORRENT_DEB="libtorrent-rasterbar10_1.2.12+git20210118.3efdb8a941-1ppa1~20.04_${LIBTORRENT_ARCH}.deb" \
|
export LIBTORRENT_DEB="libtorrent-rasterbar10_1.2.12+git20210118.3efdb8a941-1ppa1~20.04_${LIBTORRENT_ARCH}.deb" \
|
||||||
&& \
|
&& \
|
||||||
curl -fsSL -o libtorrent-rasterbar.deb \
|
curl -fsSL -o /tmp/libtorrent-rasterbar.deb \
|
||||||
"https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/${LIBTORRENT_DEB}" \
|
"https://launchpad.net/~qbittorrent-team/+archive/ubuntu/qbittorrent-stable/+files/${LIBTORRENT_DEB}" \
|
||||||
&& dpkg -i libtorrent-rasterbar.deb \
|
&& dpkg -i /tmp/libtorrent-rasterbar.deb \
|
||||||
&& rm -rf libtorrent-rasterbar.deb \
|
|
||||||
&& \
|
&& \
|
||||||
apt-get -qq update \
|
apt-get -qq update \
|
||||||
&& \
|
&& \
|
||||||
|
|
Loading…
Reference in New Issue