17 lines
366 B
Makefile
17 lines
366 B
Makefile
include ./build.env
|
|
OUT=./out
|
|
|
|
.PHONY: build
|
|
|
|
build:
|
|
mkdir -p $(OUT)
|
|
chown 1000:1000 $(OUT)
|
|
docker build -t g.freya.cat/freya/aports .
|
|
docker run --rm -it \
|
|
-v $(shell pwd)/freya:/aports \
|
|
-v $(OUT):/home/user/packages \
|
|
-v $(KEY):/key \
|
|
-v $(KEY_PUB):/key.pub \
|
|
-e PACKAGER_PRIVKEY=/key \
|
|
--ulimit "nofile=1024:1048576" \
|
|
g.freya.cat/freya/aports
|