updated transmission to version 4
parent
04536701cc
commit
3b3c57ed8b
|
@ -1,4 +1,4 @@
|
||||||
FROM alpine:3.16
|
FROM alpine:edge
|
||||||
|
|
||||||
RUN addgroup \
|
RUN addgroup \
|
||||||
--gid 10001 \
|
--gid 10001 \
|
||||||
|
|
|
@ -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 \
|
|
||||||
.
|
|
||||||
|
|
Loading…
Reference in New Issue