aports/Makefile

18 lines
366 B
Makefile
Raw Permalink Normal View History

2024-03-17 15:35:18 +00:00
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