chore: rewrite dockerfile

Rewrite the Dockerfile to be ready for fully automating releases using GoReleaser.
This commit is contained in:
Hector committed 2023-06-19 19:06:18 +00:00
1 parent 1d4ec79bac
commit 772cdb52c5
2 files changed
+7 -15

No files matched your search

+5
View File
@@ -1,3 +1,5 @@
.PHONY: download test fmt check/dependencies check/fmt build build/docker
download:
go mod download
@@ -24,3 +26,6 @@ build:
" \
-o fail2ban_exporter \
exporter.go
build/docker: build
docker build -t fail2ban-prometheus-exporter .