updated transmission to version 4
parent
04536701cc
commit
3b3c57ed8b
|
@ -1,4 +1,4 @@
|
|||
FROM alpine:3.16
|
||||
FROM alpine:edge
|
||||
|
||||
RUN addgroup \
|
||||
--gid 10001 \
|
||||
|
|
|
@ -1,19 +1,18 @@
|
|||
IMG_NAME =transmission
|
||||
REGISTRY = registry.monotremata.xyz
|
||||
IMG = $(REGISTRY)/$(IMG_NAME)
|
||||
PLATFORMS=linux/amd64,linux/arm64
|
||||
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)
|
||||
|
|
Loading…
Reference in New Issue