feat: init
This commit is contained in:
commit
0b4349bc6c
3 changed files with 21 additions and 0 deletions
2
.dockerignore
Normal file
2
.dockerignore
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
Dockerfile
|
||||
Makefile
|
||||
4
Dockerfile
Normal file
4
Dockerfile
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
FROM powerdns/dnsdist-master@sha256:864d652ebc7cd3e6c3eeb6c3ec37d20fbb9e2cb0fb64a4c809c5a222c400f1b6
|
||||
USER root
|
||||
RUN apt update && apt install -y dnsutils
|
||||
USER pdns
|
||||
15
Makefile
Normal file
15
Makefile
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
NAME := dnsdist-docker
|
||||
|
||||
.PHONY: image push_binted
|
||||
|
||||
image:
|
||||
@podman build -t "$(NAME)" -f - < Dockerfile
|
||||
|
||||
push_binted: image
|
||||
@TAG="$(TAG)"; \
|
||||
repository="cr.binted.boats/binted"; \
|
||||
name="$(NAME)"; \
|
||||
tag="$${TAG:-$$(date +"%Y%m%d%H%M%S")}"; \
|
||||
full_name="$$repository/$$name:$$tag"; \
|
||||
podman tag "$(NAME):latest" "$$full_name"; \
|
||||
podman push "$$full_name"
|
||||
Loading…
Add table
Add a link
Reference in a new issue