Add docker skeleton

This commit is contained in:
2019-04-03 23:04:25 +02:00
parent bfdb430980
commit c19d686cfb
7 changed files with 66 additions and 3289 deletions

11
bsp/include/docker.mk Normal file
View File

@@ -0,0 +1,11 @@
VERSION := latest
docker.build:
@echo "Docker build image."
@echo $(BR_PROJECT_NAME) : $(VERSION)
$(shell pwd)/../../bsp/scripts/docker-build.sh $(BR_STAGING) $(BR_PROJECT) $(BR_PROJECT_NAME) $(VERSION)
docker.run:
@echo "Docker run image."
docker -D run -t -i $(BR_PROJECT_NAME):v$(VERSION) /bin/sh