rsyncd image
parent
3f98947d29
commit
52991f937a
|
@ -0,0 +1,5 @@
|
|||
FROM alpine:3.16
|
||||
|
||||
RUN apk add --no-cache rsync
|
||||
|
||||
CMD ["/usr/bin/rsync", "--daemon", "--no-detach", "--config", "/etc/rsyncd.conf"]
|
|
@ -0,0 +1,19 @@
|
|||
IMG_NAME=rsyncd
|
||||
REGISTRY=registry.monotremata.xyz
|
||||
IMG=$(REGISTRY)/$(IMG_NAME)
|
||||
PLATFORMS=linux/amd64,linux/arm64
|
||||
|
||||
.PHONY: build push buildx
|
||||
|
||||
build: Dockerfile
|
||||
docker build -t $(IMG) .
|
||||
|
||||
push: build
|
||||
docker image push $(IMG)
|
||||
|
||||
buildx: Dockerfile
|
||||
docker buildx build \
|
||||
--platform $(PLATFORMS) \
|
||||
--tag $(IMG) \
|
||||
--push \
|
||||
.
|
Loading…
Reference in New Issue