updated transmission to version 4

main
Ricard Illa 2023-02-12 16:45:03 +01:00
parent 04536701cc
commit 3b3c57ed8b
No known key found for this signature in database
GPG Key ID: F69A672B72E54902
2 changed files with 16 additions and 17 deletions

View File

@ -1,4 +1,4 @@
FROM alpine:3.16
FROM alpine:edge
RUN addgroup \
--gid 10001 \

View File

@ -1,19 +1,18 @@
IMG_NAME=transmission
REGISTRY=registry.monotremata.xyz
IMG=$(REGISTRY)/$(IMG_NAME)
PLATFORMS=linux/amd64,linux/arm64
IMG_NAME =transmission
REGISTRY = registry.monotremata.xyz
IMG = $(REGISTRY)/$(IMG_NAME)
PLATFORM = linux/amd64,linux/arm64
JOBS = 1
.PHONY: build push buildx
.PHONY: push
build: Dockerfile
docker build -t $(IMG) .
out/image-name: Dockerfile
mkdir -p $(@D)
buildah build \
--jobs=$(JOBS) \
--platform=$(PLATFORM) \
--manifest=$(IMG) .
@echo $(IMG) > $(@)
push: build
docker image push $(IMG)
buildx: Dockerfile
docker buildx build \
--platform $(PLATFORMS) \
--tag $(IMG) \
--push \
.
push: out/image-name
podman manifest push --all $(IMG) docker://$(IMG)