zeek/auxil/spicy/ci/Makefile
Patrick Kelley 8fd444092b initial
2025-05-07 15:35:15 -04:00

12 lines
401 B
Makefile

# Copyright (c) 2020-now by the Zeek Project. See LICENSE for details.
# Helper for building Docker image locally for testing.
all:
build:
DOCKER_BUILDKIT=1 docker build --build-arg "UID=$$(id -u)" --build-arg "GID=$$(id -g)" -t spicy-ci:latest .
run:
docker run -v $$(cd .. && pwd):/opt/spicy -w /opt/spicy --cap-add SYS_PTRACE --security-opt seccomp=unconfined -i -t spicy-ci:latest /bin/bash