mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-01-18 07:06:40 +00:00
This should improve portability, be more palatable for future distribution, and enable lower-level control. Addresses #8.
16 lines
332 B
Makefile
16 lines
332 B
Makefile
.PHONY: all
|
|
|
|
DEPS=transfused.c
|
|
|
|
all: Dockerfile $(DEPS)
|
|
docker build -t transfused:build .
|
|
docker run transfused:build cat transfused > transfused
|
|
chmod 755 transfused
|
|
|
|
transfused: $(DEPS)
|
|
gcc -g -static -Wall -Werror -o transfused transfused.c
|
|
|
|
clean:
|
|
rm -f transfused
|
|
docker images -q transfused:build | xargs docker rmi -f
|