From ae5044334e19b98b22518fc47aec4c0499dcebb0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?BENEDEK=20L=C3=A1szl=C3=B3?= Date: Tue, 8 Oct 2024 02:14:31 +0200 Subject: [PATCH] linuxserver/transmission --- linuxserver/docker-transmission.build.yml | 35 +++++++++++++++++++ linuxserver/patches/docker-transmission.patch | 24 +++++++++++++ 2 files changed, 59 insertions(+) create mode 100644 linuxserver/docker-transmission.build.yml create mode 100644 linuxserver/patches/docker-transmission.patch diff --git a/linuxserver/docker-transmission.build.yml b/linuxserver/docker-transmission.build.yml new file mode 100644 index 0000000..21e97fa --- /dev/null +++ b/linuxserver/docker-transmission.build.yml @@ -0,0 +1,35 @@ +registries: + - registry.tek.govt.hu +repos: + - name: transmission + path: docker-transmission + library: linuxserver + args: + - key: BUILD_DATE + value: "${BUILD_DATE}" + - key: VERSION + value: "${VERSION}" + tags: + - name: latest + tags: + - amd64 + - arm64 + - armv7 + - name: "3.20" + tags: + - 3.20-amd64 + - 3.20-arm64 + - 3.20-armv7 + builds: + - arch: amd64 + tags: + - amd64 + - 3.20-amd64 + - arch: arm64 + tags: + - arm64 + - 3.20-arm64 + - arch: arm/v7 + tags: + - armv7 + - 3.20-armv7 diff --git a/linuxserver/patches/docker-transmission.patch b/linuxserver/patches/docker-transmission.patch new file mode 100644 index 0000000..1639e5f --- /dev/null +++ b/linuxserver/patches/docker-transmission.patch @@ -0,0 +1,24 @@ +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 \