zeek/docker/Makefile
Christian Kreibich d6c80f6d2c Test container with BTest instead of container-structure-tests
This patch replaces the container-strucuture-tests for the Zeek
container with a BTest-driven approach to provide a more familiar
experience. In addtion to `python3` for `btest` we also rely on `make`
being available in Github-hosted runners which at least currently seems
to be hold (probably pulled in as a dependency of CMake which is
officially included, see
https://github.com/actions/virtual-environments/blob/main/images/linux/Ubuntu2004-README.md).
2021-09-24 11:48:49 +02:00

12 lines
268 B
Makefile

# See the file "COPYING" in the main distribution directory for copyright.
VERSION := $$(cat ../VERSION)
.PHONY: all
all:
@docker build -t zeek:$(VERSION) -f Dockerfile ..
@docker tag zeek:$(VERSION) zeek:latest
test:
@TEST_TAG=zeek:$(VERSION) $(MAKE) -C btest