mirror of
https://github.com/linuxkit/linuxkit.git
synced 2026-04-13 04:16:43 +00:00
17 lines
359 B
Makefile
17 lines
359 B
Makefile
all: proxy
|
|
|
|
files:
|
|
ls Dockerfile *.go > files
|
|
find libproxy >> files
|
|
printf -- '-C\n..\n' >> files
|
|
(cd .. && find vendor) >> files
|
|
|
|
proxy: Dockerfile $(wildcard *.go libproxy/*.go) ../vendor/manifest files
|
|
tar cf - -T files | docker build -t proxy:build -
|
|
docker run --rm --net=none proxy:build | tar xf -
|
|
|
|
clean:
|
|
rm -rf proxy files
|
|
|
|
.DELETE_ON_ERROR:
|