dnsmasq
parent
ab95a6d189
commit
c3c9b13a73
|
@ -0,0 +1,9 @@
|
|||
FROM alpine:3.16
|
||||
|
||||
RUN apk --no-cache add dnsmasq
|
||||
|
||||
VOLUME /etc/dnsmasq
|
||||
|
||||
EXPOSE 53
|
||||
|
||||
CMD ["dnsmasq", "--no-daemon"]
|
|
@ -0,0 +1,19 @@
|
|||
IMG_NAME=dnsmasq
|
||||
REGISTRY=registry.monotremata.xyz
|
||||
IMG=$(REGISTRY)/$(IMG_NAME)
|
||||
PLATFORMS=linux/amd64
|
||||
|
||||
.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