linuxserver/transmission

This commit is contained in:
BENEDEK László 2024-10-08 02:14:31 +02:00
parent 0b2ddcdc5c
commit ae5044334e
2 changed files with 59 additions and 0 deletions

View File

@ -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

View File

@ -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 \