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 \ RUN addgroup \
--gid 10001 \ --gid 10001 \

View File

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