Skip to content

Commit

Permalink
Makefile: undock can't be run on macOS
Browse files Browse the repository at this point in the history
Signed-off-by: Albin Kerouanton <[email protected]>
  • Loading branch information
akerouanton committed Sep 25, 2024
1 parent f326d99 commit 2aa12c2
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ push:
.PHONY: binary
binary: build
if [ ! -d bin/ ]; then mkdir bin; fi
undock --include=/bin docker-daemon://${IMAGE} .
docker run --rm -v $(shell pwd):/undock -w /undock crazymax/undock:latest \
--include=/bin/iptables-tracer $(IMAGE) /undock

install:
sudo cp bin/iptables-tracer /usr/local/sbin/iptables-tracer

0 comments on commit 2aa12c2

Please sign in to comment.