mirror of
https://github.com/linuxkit/linuxkit.git
synced 2025-12-04 14:23:49 +00:00
14 lines
394 B
Makefile
14 lines
394 B
Makefile
.PHONY: license clean run
|
|
all: license
|
|
|
|
license: packages.lua Dockerfile license.sh
|
|
docker build -t license .
|
|
|
|
run: license
|
|
rm -rf output
|
|
docker run -it -v /etc:/hostetc -v /usr:/hostusr -v /lib:/lib -v $(PWD)/output:/output license
|
|
docker run -it --rm -v $(PWD):/licensing debian sh -c "cd /licensing/output && tar --numeric-owner -zcvf /licensing/License.tar.gz *"
|
|
|
|
clean:
|
|
rm -rf output
|