images/linuxserver/patches/docker-transmission.patch

25 lines
923 B
Diff
Raw Normal View History

2024-10-08 00:14:31 +00:00
diff --git a/Dockerfile b/Dockerfile
index 2d5d804..ac937b0 100644
--- a/Dockerfile
+++ b/Dockerfile
@@ -1,8 +1,8 @@
# syntax=docker/dockerfile:1
-FROM ghcr.io/linuxserver/unrar:latest as unrar
+FROM registry.tek.govt.hu/linuxserver/unrar:latest as unrar
-FROM ghcr.io/linuxserver/baseimage-alpine:edge
+FROM registry.tek.govt.hu/linuxserver/baseimage-alpine:3.20
ARG BUILD_DATE
ARG VERSION
@@ -21,7 +21,7 @@ RUN \
python3 && \
echo "**** install transmission ****" && \
if [ -z ${TRANSMISSION_VERSION+x} ]; then \
- TRANSMISSION_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
+ TRANSMISSION_VERSION=$(curl -sL "http://dl-cdn.alpinelinux.org/alpine/v3.20/community/x86_64/APKINDEX.tar.gz" | tar -xz -C /tmp \
&& awk '/^P:transmission$/,/V:/' /tmp/APKINDEX | sed -n 2p | sed 's/^V://'); \
fi && \
apk add --no-cache \