mirror of
https://github.com/hackerschoice/segfault.git
synced 2024-07-09 03:21:34 +00:00
10 lines
397 B
Makefile
10 lines
397 B
Makefile
all: fs-root/bin/docker-exec-sigproxy Dockerfile
|
|
docker build -t sf-host .
|
|
|
|
fs-root/bin/docker-exec-sigproxy: docker-exec-sigproxy.c
|
|
-docker run --name alpine-gcc alpine sh -c "apk update && apk add gcc libc-dev" \
|
|
&& docker commit alpine-gcc alpine-gcc
|
|
docker run --rm -v$$(pwd):/src -w /src alpine-gcc gcc -Wall -O2 -o fs-root/bin/docker-exec-sigproxy docker-exec-sigproxy.c
|
|
@echo SUCCESS
|
|
|